[ejabberd] Timestamp in messages for connected clients

Gaurav Jain monkeyfdude at gmail.com
Fri Jan 20 21:58:05 MSK 2017


Thank you. Just wanted to clarify.

On Fri, Jan 20, 2017 at 12:41 AM, Mickaël Rémond <mremond at process-one.net>
wrote:

> Hello,
>
>
>
> 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 Jain
> *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
> online.
>
>
>
> Why is so? Is it possible to get timestamp in messages delivered for
> online clients??
>
>
>
>
>
> Best Regards,
>
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20170120/fa0bac03/attachment.html>


More information about the ejabberd mailing list