diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-03-09 20:48:55 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-03-09 20:48:55 +0100 |
commit | 2893e4e96400cf31523a52414abd62e3262137cc (patch) | |
tree | 7735e832e15dcaeb66ccf1848c1daa547eb20dcd | |
parent | 5d910a7c7375d2ab98e1488529fc111b055899cb (diff) |
add <x/> element to outgoing MUC PM
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/generator/MessageGenerator.java | 1 |
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"); } |