aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/generator
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-06-23 23:29:26 +0200
committeriNPUTmice <daniel@gultsch.de>2014-06-23 23:29:26 +0200
commit18d0e57f52c93122b16c0769dd663cb02b864040 (patch)
treed79324cabe28aa1262070e56e9636965fb22f997 /src/eu/siacs/conversations/generator
parent25e44cbf52b87f6fbe9b2d491037594d9e406648 (diff)
fixed regression with chat markers not working
Diffstat (limited to 'src/eu/siacs/conversations/generator')
-rw-r--r--src/eu/siacs/conversations/generator/MessageGenerator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/generator/MessageGenerator.java b/src/eu/siacs/conversations/generator/MessageGenerator.java
index 419db25a..77ac55f1 100644
--- a/src/eu/siacs/conversations/generator/MessageGenerator.java
+++ b/src/eu/siacs/conversations/generator/MessageGenerator.java
@@ -21,6 +21,7 @@ public class MessageGenerator {
if (conversation.getMode() == Conversation.MODE_SINGLE) {
packet.setTo(message.getCounterpart());
packet.setType(MessagePacket.TYPE_CHAT);
+ packet.addChild("markable", "urn:xmpp:chat-markers:0");
} else {
packet.setTo(message.getCounterpart().split("/")[0]);
packet.setType(MessagePacket.TYPE_GROUPCHAT);