spec/keep_full_sub_req: Verify that the presence subscription stays the same after a reconnect

This commit is contained in:
Kim Alvefur 2018-12-01 18:07:56 +01:00
parent 296555762e
commit 8aac387431

View file

@ -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">