From 61a5a5becda8e40fdc522671a2679172d30c197e Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 28 Sep 2019 14:34:11 +0200 Subject: [PATCH] XEP-0402: Announce feature for server side unification --- xep-0402.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xep-0402.xml b/xep-0402.xml index 8f431312..2e27590d 100644 --- a/xep-0402.xml +++ b/xep-0402.xml @@ -256,6 +256,9 @@

A server MAY choose to unify the bookmarks from both &xep0049; based and the current &xep0048;.

+

It is encouraged to at least support unification between Private XML Storage because as of 2019 this is still the storage backend that is implemented in the majority of clients.

+

A server that supports unifying bookmarks from &xep0049; and &xep0402; SHOULD announce the "urn:xmpp:bookmarks:0#compat" feature on the account. Clients may use that feature as an indication that it is safe to store bookmarks using only &xep0402; without losing backward compatibility to clients that are only using &xep0049;.

+

A server that supports unifying bookmarks between &xep0223; and &xep0402; SHOULD announce the "urn:xmpp:bookmarks:0#compat-pep" feature on the account.

When a client publishes a new item, the server MAY collate all items, casting them into the 'storage:bookmarks' namespace and setting the jid attribute to the item id in each case. When contained within a storage element qualified by the 'storage:bookmarks' namespace, this will be the correct format for both current and previous variants of &xep0048;

@@ -267,6 +270,8 @@

This specification relies fully on a number of others. Most particularly, support for this protocol is available if &xep0223; is supported.

+

Server side unification between &xep0049; bookmarks and Bookmarks 2 is announced with the feature "urn:xmpp:bookmarks:0#compat" on the account.

+

Server side unification between the current use of XEP-0048 bookmarks (PEP) is annouced with the feature "urn:xmpp:bookmarks:0#compat-pep" on the account.