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