diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-07-22 14:17:02 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-07-22 14:17:02 +0200 |
commit | 9c1c86ed444cfa860b6e958849dd6a55b9a16a04 (patch) | |
tree | 2546988e11fa5696125c199252a83cd416c8d35f /src/main/java | |
parent | 63206e6d4a0713719ff19cb38c93d091fe0c4735 (diff) |
add no-store to chat states
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/generator/MessageGenerator.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java b/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java index 484fca00..04591672 100644 --- a/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java +++ b/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java @@ -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; } |