From cde2abe151ac8ecaacf46ad5d0cc43caae5b9a62 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Wed, 22 Feb 2017 17:01:14 +0100 Subject: [PATCH 1/4] XEP-0045: Add tag to MUC-PMs --- xep-0045.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xep-0045.xml b/xep-0045.xml index 6a496107..704ab8cf 100644 --- a/xep-0045.xml +++ b/xep-0045.xml @@ -1903,6 +1903,7 @@

Since each occupant has its own occupant JID, an occupant can send a "private message" to a selected occupant via the service by sending a message to the intended recipient's occupant JID. The message type SHOULD be "chat" and MUST NOT be "groupchat", but MAY be left unspecified (i.e., a normal message). This privilege is controlled by the "muc#roomconfig_allowpm" room configuration option.

+

To allow for proper synchronization of these messages to the user's other clients by &xep0280;, the sending client SHOULD add an <x/> element qualified by the 'http://jabber.org/protocol/muc#user' namespace to the message.

I'll give thee a wind. + ]]> -

The service is responsible for changing the 'from' address to the sender's occupant JID and delivering the message to the intended recipient's full JID.

+

The service is responsible for changing the 'from' address to the sender's occupant JID and delivering the message to the intended recipient's full JID. The service SHOULD add the <x/> element if the message does not contain it already.

I'll give thee a wind. + ]]>

If the sender attempts to send a private message of type "groupchat" to a particular occupant, the service MUST refuse to deliver the message (since the recipient's client would expect in-room messages to be of type "groupchat") and return a &badrequest; error to the sender:

From 0dd74fde8d8a676b07431873848c8dfc4d27be31 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Thu, 9 Mar 2017 17:34:49 +0100 Subject: [PATCH 2/4] XEP-0045: clients MUST NOT rely on --- xep-0045.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/xep-0045.xml b/xep-0045.xml index 704ab8cf..1d9f590f 100644 --- a/xep-0045.xml +++ b/xep-0045.xml @@ -1904,6 +1904,7 @@

Since each occupant has its own occupant JID, an occupant can send a "private message" to a selected occupant via the service by sending a message to the intended recipient's occupant JID. The message type SHOULD be "chat" and MUST NOT be "groupchat", but MAY be left unspecified (i.e., a normal message). This privilege is controlled by the "muc#roomconfig_allowpm" room configuration option.

To allow for proper synchronization of these messages to the user's other clients by &xep0280;, the sending client SHOULD add an <x/> element qualified by the 'http://jabber.org/protocol/muc#user' namespace to the message.

+

Note: because this requirement was only added in revision 1.28 of this XEP, receiving clients MUST NOT rely on the existence of the <x/> element on private messages for proper processing.

Date: Tue, 14 Mar 2017 09:23:28 +0100 Subject: [PATCH 3/4] Changed wording from 'clients' to 'entities' --- xep-0045.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xep-0045.xml b/xep-0045.xml index 1d9f590f..0ea8892e 100644 --- a/xep-0045.xml +++ b/xep-0045.xml @@ -1904,7 +1904,7 @@

Since each occupant has its own occupant JID, an occupant can send a "private message" to a selected occupant via the service by sending a message to the intended recipient's occupant JID. The message type SHOULD be "chat" and MUST NOT be "groupchat", but MAY be left unspecified (i.e., a normal message). This privilege is controlled by the "muc#roomconfig_allowpm" room configuration option.

To allow for proper synchronization of these messages to the user's other clients by &xep0280;, the sending client SHOULD add an <x/> element qualified by the 'http://jabber.org/protocol/muc#user' namespace to the message.

-

Note: because this requirement was only added in revision 1.28 of this XEP, receiving clients MUST NOT rely on the existence of the <x/> element on private messages for proper processing.

+

Note: because this requirement was only added in revision 1.28 of this XEP, receiving entities MUST NOT rely on the existence of the <x/> element on private messages for proper processing.

Date: Wed, 31 May 2017 18:01:31 +0200 Subject: [PATCH 4/4] XEP-0045: add revision block --- xep-0045.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xep-0045.xml b/xep-0045.xml index 0ea8892e..238d2fcb 100644 --- a/xep-0045.xml +++ b/xep-0045.xml @@ -45,6 +45,14 @@ &stpeter; + + 1.28 + 2017-05-31 + gl + +

Introduce <x/> tag in MUC-PMs to support better Carbon delivery.

+
+
1.27.1 2016-12-03