aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-07-22 14:17:02 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-07-22 14:17:02 +0200
commit9c1c86ed444cfa860b6e958849dd6a55b9a16a04 (patch)
tree2546988e11fa5696125c199252a83cd416c8d35f /src/main/java
parent63206e6d4a0713719ff19cb38c93d091fe0c4735 (diff)
add no-store to chat states
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/generator/MessageGenerator.java2
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 484fca001..045916725 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;
}