From 7e5e0a587e8584e44d1720173c6fdb9a3db520b9 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Wed, 22 Feb 2017 11:27:27 +0100 Subject: [PATCH] XEP-0280: clearly specify MUC-related rules --- xep-0280.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xep-0280.xml b/xep-0280.xml index 3e7ea708..8d860694 100644 --- a/xep-0280.xml +++ b/xep-0280.xml @@ -284,6 +284,16 @@
  • it is of type "chat".
  • it is of type "normal" and contains a <body> element.
  • it is of type "error" and it was sent in response to a &MESSAGE; that was eligible for carbons delivery (Note that as this would require message tracking and correlation on the server, it is unlikely to be generally appropriate for most implementations).
  • +
  • it matches the MUC-related rules outlined below.
  • + +

    To properly handle messages exchanged with a MUC (or similar service), the server must be able to identify MUC-related messages. This can be accomplished by tracking the clients' presence in MUCs, or by checking for the <x xmlns="http://jabber.org/protocol/muc#user"> element in messages. The following rules are suggested for MUC-related messages: +

    +

    As this is a implementation detail of servers, clients MUST NOT rely on the server implementing a particular set of rules for which messages are eligible for Carbons delivery.

    Future specifications may have more precise requirements on which messages need to be eligible for carbons delivery; such future specifications will provide their own discovery and negotiation mechanisms, such that a client negotiating Carbons using the protocol defined in this specification will cause the server to consider messages eligible for Carbons delivery based on the requirements described herein.