Project

General

Profile

7.1.0:urn:xmpp:delay

Jeffrey J
Added about 2 years ago

7.0.4 before the return of the message in the delay :

<message xmlns="jabber:client" type="groupchat" from="qq@muc.a51-pc/a" to="a@a51-pc/Spark 2.8.2.934" id="PgPkT-193"><body>@@@###</body><delay stamp="2017-02-13T08:49:43Z" xmlns="urn:xmpp:delay"/></message>

7.1.0 version of the return message did not delay :

<message from="e@muc.a51-pc/a" type="groupchat" id="6WA3O-277" to="a@a51-pc/Spark 2.8.2.934" xmlns="jabber:client"><body>@@@###</body></message>

I would like to return in the 7.1.0 version:

       <delay stamp="2017-02-13T08:49:43Z" xmlns="urn:xmpp:delay"/>

What should I do?


Replies (4)

Added by Wojciech Kapcia TigaseTeam about 2 years ago

It was removd in tigase-muc commit:92060a9b3f3395d375e19583842253799e36a874 as it wasn't a correct specification implementation (it should be included only in messages returned from archive).

What's the use-case for the <delay/> tag in typical messages?

(#4109)

Added by Jeffrey J about 2 years ago

I would like to show the message in the chat room time, but 7.1.0 version of the message returned without tag

Added by Wojciech Kapcia TigaseTeam about 2 years ago

jiafu wu wrote:

I would like to show the message in the chat room time, but 7.1.0 version of the message returned without tag

Such messages are received when the user is online, thus you simply display time when the message was received (it's the same time).

Added by Jeffrey J about 2 years ago

Thanks!

    (1-4/4)