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
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }