From 77e0b01c921a4ab96db8d924c7cb77b93fb57d47 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 28 Sep 2019 00:12:41 +0200 Subject: [PATCH] XEP-0402: Actually add retraction notifications. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PubSub §7.2.2.1 says “If no error occurs and the element included a 'notify' attribute with a value of "true" or "1", then the service MUST delete the item and MUST notify all subscribers as shown below.” This means the publishing entity, not the server or the subscription state, is responsible for properly enabling notifications to other resources, which makes no sense. See https://xmpp.org/extensions/xep-0060.xml#publisher-delete-success-notify --- xep-0402.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xep-0402.xml b/xep-0402.xml index 30e25f68..8f431312 100644 --- a/xep-0402.xml +++ b/xep-0402.xml @@ -194,11 +194,12 @@

Removing a bookmark means retracting an existing item, identified by the bookmark's JID, form the '&namespace;' node.

This implies that server support for the "delete-items" pubsub feature is REQUIRED.

+

A 'notify' attribute SHOULD be included on the <retract/> element in order to inform other online clients of the deletion.

- +