From bb05bddeab9b215ce113d7dfd2c8ad6998bbdde2 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 27 Mar 2020 12:19:52 +0100 Subject: [PATCH] XEP-0369: Allow unsubscribing from nodes. The element so far was only allowing a user to subscribe to new nodes, not unsubscribe from them. The only option if for instance one node was too floody was to leave the channel and rejoin it with only the nodes we wanted. --- xep-0369.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xep-0369.xml b/xep-0369.xml index dd05dd10..bcdcc843 100644 --- a/xep-0369.xml +++ b/xep-0369.xml @@ -1080,7 +1080,7 @@

- A user MAY subsequently modify subscription to nodes in a channel by sending a subscription modification request encoded as a <update-subscription/> child element of <iq/> element. The <update-subscription/> element is qualified by the 'urn:xmpp:mix:core:1' namespace. The requested nodes are encoded as <subscribe/> child elements of the <update-subscription/> element with the node name encoded as a 'node' attribute. This modification goes directly from client to the MIX channel, as this change does not impact the roster and so does not need any local action. The following example shows subscription modification. + A user MAY subsequently modify subscription to nodes in a channel by sending a subscription modification request encoded as a <update-subscription/> child element of <iq/> element. The <update-subscription/> element is qualified by the 'urn:xmpp:mix:core:1' namespace. The requested nodes are encoded as <subscribe/> and <unsubscribe/> child elements of the <update-subscription/> element with the node name encoded as a 'node' attribute. This modification goes directly from client to the MIX channel, as this change does not impact the roster and so does not need any local action. The following example shows subscription modification.

+ @@ -1099,6 +1100,7 @@ + ]]>