From 050608311a4dcda204a6ef7398c412b570fa9ee2 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Tue, 15 Jan 2019 16:34:51 +0100 Subject: [PATCH] XEP-0184: add a box about types and JIDs --- xep-0184.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/xep-0184.xml b/xep-0184.xml index 1c3a81cb..a7e0a11c 100644 --- a/xep-0184.xml +++ b/xep-0184.xml @@ -204,6 +204,7 @@ ]]>

When the recipient sends an ack message, it SHOULD ensure that the message stanza contains only one child element, namely the <received/> element qualified by the 'urn:xmpp:receipts' namespace. In addition, it SHOULD include an 'id' attribute that echoes the 'id' attribute of the content message. Naturally, intermediate entities might add other extension elements to the message when routing or delivering the receipt message, e.g., a <delay/> element as specified in &xep0203;.

+

Note: It is a good practice to use the same message type as the message that requested the receipt, however a client should also accept receipts with a different message type. When sending a Receipt for a type='groupchat' message (which is NOT RECOMMENDED), the Receipt must be sent to the bare JID of the room and not to the full JID of the sender.