add no-store to chat states

This commit is contained in:
Daniel Gultsch 2015-07-22 14:17:02 +02:00
parent 63206e6d4a
commit 9c1c86ed44

View file

@ -119,6 +119,8 @@ public class MessageGenerator extends AbstractGenerator {
packet.setTo(conversation.getJid().toBareJid());
packet.setFrom(account.getJid());
packet.addChild(ChatState.toElement(conversation.getOutgoingChatState()));
packet.addChild("no-store", "urn:xmpp:hints");
packet.addChild("no-storage", "urn:xmpp:hints"); //wrong! don't copy this. Its *store*
return packet;
}