mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 10:12:19 -05:00
XEP-0045: clients MUST NOT rely on <x/>
This commit is contained in:
parent
cde2abe151
commit
0dd74fde8d
@ -1904,6 +1904,7 @@
|
|||||||
<section2 topic='Sending a Private Message' anchor='privatemessage'>
|
<section2 topic='Sending a Private Message' anchor='privatemessage'>
|
||||||
<p>Since each occupant has its own occupant JID, an occupant can send a "private message" to a selected occupant via the service by sending a message to the intended recipient's occupant JID. The message type SHOULD be "chat" and MUST NOT be "groupchat", but MAY be left unspecified (i.e., a normal message). This privilege is controlled by the "muc#roomconfig_allowpm" room configuration option.</p>
|
<p>Since each occupant has its own occupant JID, an occupant can send a "private message" to a selected occupant via the service by sending a message to the intended recipient's occupant JID. The message type SHOULD be "chat" and MUST NOT be "groupchat", but MAY be left unspecified (i.e., a normal message). This privilege is controlled by the "muc#roomconfig_allowpm" room configuration option.</p>
|
||||||
<p>To allow for proper synchronization of these messages to the user's other clients by &xep0280;, the sending client SHOULD add an <x/> element qualified by the 'http://jabber.org/protocol/muc#user' namespace to the message.</p>
|
<p>To allow for proper synchronization of these messages to the user's other clients by &xep0280;, the sending client SHOULD add an <x/> element qualified by the 'http://jabber.org/protocol/muc#user' namespace to the message.</p>
|
||||||
|
<p><strong>Note:</strong> because this requirement was only added in revision 1.28 of this XEP, receiving clients MUST NOT rely on the existence of the <x/> element on private messages for proper processing.</p>
|
||||||
<example caption='Occupant Sends Private Message'><![CDATA[
|
<example caption='Occupant Sends Private Message'><![CDATA[
|
||||||
<message
|
<message
|
||||||
from='wiccarocks@shakespeare.lit/laptop'
|
from='wiccarocks@shakespeare.lit/laptop'
|
||||||
|
Loading…
Reference in New Issue
Block a user