summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-12-10 15:41:59 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-12-10 15:41:59 +0000
commitff125885358d82a956428ac3ed1b443840289236 (patch)
treecc274ff167d01436bd7c28baae43c0b34dc10e3d
parent1a77aef151e628853c9540329290bb4658dd7e22 (diff)
MessageSent: SHOULD include the -sender, -sender-id, -sent headers
This is an instance of the general principle that the message should look as close as possible to what other users will receive; in an XMPP MUC, the message-sender(-id) should be channel-specific.
-rw-r--r--spec/Channel_Interface_Messages.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/Channel_Interface_Messages.xml b/spec/Channel_Interface_Messages.xml
index 39ad6993..62e83846 100644
--- a/spec/Channel_Interface_Messages.xml
+++ b/spec/Channel_Interface_Messages.xml
@@ -1120,6 +1120,14 @@ USA.</p>
part to generate a <tt>text/plain</tt> alternative which is also
included in this signal argument.</p>
+ <p>The connection manager SHOULD include the
+ <code>message-sender</code>, <code>message-sender-id</code> and
+ <code>message-sent</code> headers in the representation of the
+ message that is signalled here. If the channel has
+ channel-specific handles, the <code>message-sender</code> and
+ <code>message-sender-id</code> SHOULD reflect the sender that
+ other contacts will see.</p>
+
<p>If the connection manager can predict that the message will be
altered during transmission, this argument SHOULD reflect what
other contacts will receive, rather than being a copy of the