mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
spec/keep_full_sub_req: Verify that the presence subscription stays the same after a reconnect
This commit is contained in:
parent
296555762e
commit
8aac387431
1 changed files with 17 additions and 0 deletions
|
@ -27,6 +27,23 @@ Bob sends:
|
|||
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
|
||||
|
||||
# Works if they reconnect too
|
||||
|
||||
Bob connects
|
||||
|
||||
Bob sends:
|
||||
<presence/>
|
||||
|
||||
Bob receives:
|
||||
<presence from="${Bob's full JID}"/>
|
||||
|
||||
|
||||
Bob receives:
|
||||
<presence from="${Alice's JID}" type="subscribe">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue