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 | 8aac387431c7dad47c6afffc4bfcc024d3147950 (patch) | |
tree | 52165d24b9e2d44bf5d3de1d15736f7fb781b6c2 /spec | |
parent | 296555762ed5a515998d4b85d6d7fd4d9bfb62e5 (diff) | |
download | prosody-8aac387431c7dad47c6afffc4bfcc024d3147950.tar.gz prosody-8aac387431c7dad47c6afffc4bfcc024d3147950.zip |
spec/keep_full_sub_req: Verify that the presence subscription stays the same after a reconnect
Diffstat (limited to 'spec')
-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"> |