[Telepathy-commits] [telepathy-spec/master] Messages: relax "SHOULD omit message-type = Normal" to a MAY
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Oct 22 04:00:36 PDT 2008
Robust clients will have to cope either way in any case, and including
the message-type in all cases turns out to simplify CM implementations.
---
spec/Channel_Interface_Messages.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/spec/Channel_Interface_Messages.xml b/spec/Channel_Interface_Messages.xml
index 3399eb9..00d25a9 100644
--- a/spec/Channel_Interface_Messages.xml
+++ b/spec/Channel_Interface_Messages.xml
@@ -181,7 +181,7 @@ USA.</p>
'message-sender': 42,
'message-sent': 1210067943,
'message-received': 1210067947,
- 'message-type': TP_TEXT_MESSAGE_TYPE_CONTACT, # = 0
+ 'message-type': 0, # = Channel_Text_Message_Type_Normal
'pending-message-id': 437,
},
{ 'alternative': 'main',
@@ -256,7 +256,7 @@ USA.</p>
<dt>message-type (u - <tp:type>Channel_Text_Message_Type</tp:type>)
</dt>
<dd>The type of message; if omitted,
- Channel_Text_Message_Type_Normal MUST be assumed. SHOULD
+ Channel_Text_Message_Type_Normal MUST be assumed. MAY
be omitted for normal chat messages.</dd>
<dt>pending-message-id (u - <tp:type>Message_ID</tp:type>)</dt>
--
1.5.6.5
More information about the Telepathy-commits
mailing list