7.1.0:urn:xmpp:delay

Added by jiafu wu 14 days 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)

RE: 7.1.0:urn:xmpp:delay - Added by Wojciech Kapcia 13 days 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)

RE: 7.1.0:urn:xmpp:delay - Added by jiafu wu 13 days ago

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

RE: 7.1.0:urn:xmpp:delay - Added by Wojciech Kapcia 12 days 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 <delay /> 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).

(1-4/4)