aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-12-17 15:32:03 +0100
committerDaniel Gultsch <daniel@gultsch.de>2015-12-17 15:32:03 +0100
commit20b4e756fe4dfcef6cb2158271944db394cad048 (patch)
tree0a635f5b82a6118842812ad96a7e1b8c986cdf58 /src/main/java/eu/siacs
parentf510b2ba2dc57ddb8085bf3d1f5e023374efb55b (diff)
add 'store' message hint to displayed chat markers
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r--src/main/java/eu/siacs/conversations/generator/MessageGenerator.java1
1 files changed, 1 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 b1a0d99d0..0f352f53e 100644
--- a/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java
+++ b/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java
@@ -152,6 +152,7 @@ public class MessageGenerator extends AbstractGenerator {
packet.setFrom(account.getJid());
Element received = packet.addChild("displayed","urn:xmpp:chat-markers:0");
received.setAttribute("id", id);
+ packet.addChild("store", "urn:xmpp:hints");
return packet;
}