Delay element of carbon message is ignored
Versions
- Gajim version: 1.4.6
Steps to reproduce the problem
- Receive a carbon with a delay element, eg:
<message xmlns="jabber:client" from="test@localhost" type="chat" to="test@localhost/gajim.YZFE1D2Z">
<sent xmlns="urn:xmpp:carbons:2">
<forwarded xmlns="urn:xmpp:forward:0">
<message xmlns="jabber:client" to="xxxxxxx@hackernews.localhost" type="chat" from="test@localhost/slidge">
<body>xxxxxxxxxx</body>
<delay xmlns="urn:xmpp:delay" stamp="2022-07-15T22:25:43+00:00" />
</message>
</forwarded>
</sent>
</message>
Expected behavior
Gajim should use the delay and place the carboned message in the chat view accordingly.
Actual behavior
The carbon appears as if it had no delay information associated, ie, as if the message was just posted now.
Maybe there is something wrong that I missed with the stanza, but FWIW dino handles it well.