diff options
author | Kim Alvefur <zash@zash.se> | 2018-12-01 18:07:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-12-01 18:07:56 +0100 |
commit | 5adc46bde533b5ce92029eb33b2ddc2899dbd737 (patch) | |
tree | 52165d24b9e2d44bf5d3de1d15736f7fb781b6c2 | |
parent | 5dff3b198343a7804811126efa30bedaad092d93 (diff) | |
download | prosody-5adc46bde533b5ce92029eb33b2ddc2899dbd737.tar.gz prosody-5adc46bde533b5ce92029eb33b2ddc2899dbd737.zip |
spec/keep_full_sub_req: Verify that the presence subscription stays the same after a reconnect
-rw-r--r-- | spec/scansion/keep_full_sub_req.scs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/scansion/keep_full_sub_req.scs b/spec/scansion/keep_full_sub_req.scs index 3b80b8b2..5a5e1fdf 100644 --- a/spec/scansion/keep_full_sub_req.scs +++ b/spec/scansion/keep_full_sub_req.scs @@ -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"> |