mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-01 05:02:21 -05:00
add 'store' message hint to displayed chat markers
This commit is contained in:
parent
f510b2ba2d
commit
20b4e756fe
@ -152,6 +152,7 @@ public class MessageGenerator extends AbstractGenerator {
|
|||||||
packet.setFrom(account.getJid());
|
packet.setFrom(account.getJid());
|
||||||
Element received = packet.addChild("displayed","urn:xmpp:chat-markers:0");
|
Element received = packet.addChild("displayed","urn:xmpp:chat-markers:0");
|
||||||
received.setAttribute("id", id);
|
received.setAttribute("id", id);
|
||||||
|
packet.addChild("store", "urn:xmpp:hints");
|
||||||
return packet;
|
return packet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user