[ejabberd] 'from' attribute in delay element of MUC history message has jid of occupant instead of room

Gaurav Jain monkeyfdude at gmail.com
Mon Mar 9 01:38:14 MSK 2015


I am observing that from attribute of delay element in MUC history
message has JID of the occupant instead of room.

As per xmpp.org/extensions/xep-0045.html#enter-history:

Discussion history messages MUST be stamped with Delayed Delivery
(XEP-0203) <http://xmpp.org/extensions/xep-0203.html>  [14
 information qualified by the 'urn:xmpp:delay' namespace to indicate
that they are sent with delayed delivery and to specify the times at
which they were originally sent.* The 'from' attribute MUST be set to
 JID of the room itself.*

RoomJID = *testGroup at conference.example.com <myGroup at conference.example.com>*
Occupant 1 =
*erik at example.com/desktop <http://id_707555@example.com/desktop>*Occupant 2 =

*cyrus at example.com/desktop <http://id_817688@example.com/desktop>*

<?xml version="1.0" encoding="UTF-8"?><message xmlns="jabber:client"
from="*testGroup at conference.example.com
<myGroup at conference.example.com>*/*cyrus*"
to="*erik at example.com/desktop <http://id_707555@example.com/desktop>*"
   <subject />
   <active xmlns="http://jabber.org/protocol/chatstates" />
   <delay xmlns="urn:xmpp:delay" from="*cyrus at example.com/desktop
stamp="2015-03-08T21:02:42.481Z" />
   <x xmlns="jabber:x:delay" from="*cyrus at example.com/desktop
<http://id_8176889285@example.com/desktop>*" stamp="20150308T21:02:42"

Why is set to the JID of occupant instead of JID of room. Please help
me understand.

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20150308/13899c9e/attachment.html>

More information about the ejabberd mailing list