Software /
code /
prosody
File
spec/scansion/keep_full_sub_req.scs @ 9668:6fbf8fa7ab8e
spec/keep_full_sub_req: Add missing type attribute
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Dec 2018 18:02:58 +0100 |
parent | 9667:e41d8b12cb47 |
child | 9669:8c3ef65ecb40 |
line wrap: on
line source
# 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