add 'store' message hint to displayed chat markers

This commit is contained in:
Daniel Gultsch 2015-12-17 15:32:03 +01:00
parent f510b2ba2d
commit 20b4e756fe

View File

@ -152,6 +152,7 @@ public class MessageGenerator extends AbstractGenerator {
packet.setFrom(account.getJid());
Element received = packet.addChild("displayed","urn:xmpp:chat-markers:0");
received.setAttribute("id", id);
packet.addChild("store", "urn:xmpp:hints");
return packet;
}