aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-09 20:48:55 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-09 20:48:55 +0100
commit2893e4e96400cf31523a52414abd62e3262137cc (patch)
tree7735e832e15dcaeb66ccf1848c1daa547eb20dcd /src/main/java
parent5d910a7c7375d2ab98e1488529fc111b055899cb (diff)
add <x/> element to outgoing MUC PM
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/generator/MessageGenerator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/generator/MessageGenerator.java b/src/main/java/de/pixart/messenger/generator/MessageGenerator.java
index c336f41d5..1b1a3480a 100644
--- a/src/main/java/de/pixart/messenger/generator/MessageGenerator.java
+++ b/src/main/java/de/pixart/messenger/generator/MessageGenerator.java
@@ -46,6 +46,7 @@ public class MessageGenerator extends AbstractGenerator {
} else if (message.getType() == Message.TYPE_PRIVATE) {
packet.setTo(message.getCounterpart());
packet.setType(MessagePacket.TYPE_CHAT);
+ packet.addChild("x","http://jabber.org/protocol/muc#user");
if (this.mXmppConnectionService.indicateReceived()) {
packet.addChild("request", "urn:xmpp:receipts");
}