add no-store to chat states
This commit is contained in:
parent
63206e6d4a
commit
9c1c86ed44
|
@ -119,6 +119,8 @@ public class MessageGenerator extends AbstractGenerator {
|
||||||
packet.setTo(conversation.getJid().toBareJid());
|
packet.setTo(conversation.getJid().toBareJid());
|
||||||
packet.setFrom(account.getJid());
|
packet.setFrom(account.getJid());
|
||||||
packet.addChild(ChatState.toElement(conversation.getOutgoingChatState()));
|
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;
|
return packet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue