diff --git a/xep-0384.xml b/xep-0384.xml index c6012a7d..3cd4c6ba 100644 --- a/xep-0384.xml +++ b/xep-0384.xml @@ -515,7 +515,7 @@

-

Note: OMEMO encrypted group chats are currently specified to work with &xep0045;. This XEP might be updated in the future to also specify the usage in &xep0369;.

+

Note: OMEMO encrypted group chats are currently specified to work with &xep0045;. This XEP might be updated in the future to specify the usage of OMEMO in conjunction with &xep0369;.

A Multi-User Chat room that supports OMEMO MUST be configured non-anonymous and SHOULD be configured members-only.

A participant wanting to send a message to a group chat MUST first retrieve the members list and then fetch the device list for each member (via pubsub and to their real JIDs) and then subsequently fetch all active bundles.

@@ -533,9 +533,8 @@ - -]]> - ]]> + @@ -549,10 +548,34 @@ - -]]> +]]> +

Sending a message to a group chat is similiar to sending a message in a 1:1 conversation. Instead of the <header> element having two <keys> elements (one for the recipient and one for other devices of the sender) it will contain multiple <keys> elements. One for each participant of the room; including, again, other devices of the sender.

+ + +
+ + BASE64ENCODED... + + + BASE64ENCODED... + + + BASE64ENCODED... + +
+ + -- MESSAGE-KEY-ENCRYPTED CONTENT ELEMENT -- + +
+ + +]]>