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 a new issue