[ejabberd] Timestamp in messages for connected clients

Mickaël Rémond mremond at process-one.net
Fri Jan 20 11:41:08 MSK 2017


XMPP specifications define that delay is only to be used on a message that
is actually delayed (like offline messages or MUC history). Messages that
are sent live are required not to have a delay. The delay tag is a marker
to indicate that the message is not a live / real time message.

Messages without delay are transmitted in real time, so this is not needed.
The timestamp  difference should be subsecond anyway in most cases, so it
should not be an issue.

I hope this helps,

*De :* ejabberd [mailto:ejabberd-bounces at jabber.ru] *De la part de* Gaurav
*Envoyé :* vendredi 20 janvier 2017 04:35
*À :* ejabberd at jabber.ru
*Objet :* [ejabberd] Timestamp in messages for connected clients

I observe that ejabberd sends timestamp with offline messages in delay tag.

But it does not send timestamp for messages delivered to a client which is

Why is so? Is it possible to get timestamp in messages delivered for online

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

More information about the ejabberd mailing list