diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-15 19:04:08 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-15 19:04:08 +0100 |
commit | 90e4a09661c9f91fc57faf5f150656add797b5d4 (patch) | |
tree | eb311efc5be49a567b80a90ce6ca61a4faf6aa2c /spec | |
parent | 6bae44fea856e81ec6ce597628586c168cc4b2b8 (diff) | |
download | prosody-90e4a09661c9f91fc57faf5f150656add797b5d4.tar.gz prosody-90e4a09661c9f91fc57faf5f150656add797b5d4.zip |
mod_pubsub: Include <pubsub> with unsubscribe reply
XEP-0060 6.2.2
This is a MAY but it makes it nice and symmetric with the subscription
response. Reduces the need to remember which node you unsubscribed from.
Explicit > implicit etc.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/scansion/pubsub_advanced.scs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/scansion/pubsub_advanced.scs b/spec/scansion/pubsub_advanced.scs index c873486e..86410677 100644 --- a/spec/scansion/pubsub_advanced.scs +++ b/spec/scansion/pubsub_advanced.scs @@ -150,7 +150,11 @@ Juliet sends: </iq> Juliet receives: - <iq type="result" id='unsub1'/> + <iq type="result" id='unsub1'> + <pubsub xmlns='http://jabber.org/protocol/pubsub'> + <subscription jid="${Juliet's full JID}" node='princely_musings' subscription='none'/> + </pubsub> + </iq> Balthasar sends: <iq type="set" to="pubsub.localhost" id='del1'> |