Smack Android client joining iqs together

 <iq id='1YGR6-12' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='37edf6807af2d82d5bc15da422c13@this.com' name='simon2' subscription='none'>
</item>
</query>
</iq>
 <iq to='bb2c108ddc76af78fad4f77b5dcd5@this.com' id='1YGR6-13' type='get'>
<vCard xmlns='vcard-temp'/>
</iq>

Why does smack join iqs together at times when sent in quick iterations? have tried all i can but it keeps doing this, how do i prevent this behaviour as our server expects one at a time

If I understand the question correctly, then the answer is: you can’t.

What Smack is doing is a perfectly fine optimization. If your server doesn’t support that, then it’s not XMPP compliant.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.