equal
deleted
inserted
replaced
|
1 # server MUST keep a record of the complete presence stanza comprising the subscription request (#689) |
|
2 |
|
3 [Client] Alice |
|
4 jid: pars-a@localhost |
|
5 password: password |
|
6 |
|
7 [Client] Bob |
|
8 jid: pars-b@localhost |
|
9 password: password |
|
10 |
|
11 --------- |
|
12 |
|
13 Alice connects |
|
14 |
|
15 Alice sends: |
|
16 <presence to="${Bob's JID}" type="subscribe"> |
|
17 <preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" /> |
|
18 </presence> |
|
19 |
|
20 Alice disconnects |
|
21 |
|
22 Bob connects |
|
23 |
|
24 Bob sends: |
|
25 <presence/> |
|
26 |
|
27 Bob receives: |
|
28 <presence from="${Bob's full JID}"/> |
|
29 |
|
30 |
|
31 Bob receives: |
|
32 <presence from="${Alice's JID}"> |
|
33 <preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" /> |
|
34 </presence> |
|
35 |
|
36 Bob disconnects |
|
37 |