Exactly. The couple of clients that I've worked on typically do the
IQ/set, then send the presence/sub without waiting for the results of
the IQ, so that when the roster push comes in from the subscribe,
it's got interesting information in it to display in the roster.
On Oct 8, 2007, at 12:00 PM, Mridul Muralidharan wrote:
Server processes stanza's in order - so both should are valid.
- Mridul
Pedro Melo wrote:
HI,
reading through 3921, I have a question regarding section 3.1.1,
Client Generation of Outbound Subscription Request.
In the last paragraph its mentioned that before sending the
subscription request, the client might set the roster entry
properly, with the handle and group information.
My question is: should the client wait for the IQ result of that
roster set before sending the presence subscribe?
So should the client use:
C: <iq set roster ID 1>
S: <iq set push>
S: <iq result ID 1>
C: <presence subscribe>
or is this also valid:
C: <iq set roster ID 1>
C: <presence subscribe>
S: <iq set push>
S: <iq result ID 1>
Thanks in advance,