aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-02-15 23:28:22 +0100
committerDaniel Gultsch <daniel@gultsch.de>2015-02-15 23:28:22 +0100
commit178004996bbb0df932180b64dae17b58f2dac769 (patch)
tree30ac73ff4cfc2cf0a95a7d193d7102aae3f7f265 /src/main
parent146edb8c81821ec40c61519ee5911a7c0335ca4a (diff)
parent00fa6f89d6203430309d678898d3f91b04674d33 (diff)
Merge pull request #986 from singpolyma/vitelity-s.ms-compatability
Vitelity's s.ms service requires <body> first
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/siacs/conversations/xmpp/stanzas/MessagePacket.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/stanzas/MessagePacket.java b/src/main/java/eu/siacs/conversations/xmpp/stanzas/MessagePacket.java
index 4e7b532b..61465ae0 100644
--- a/src/main/java/eu/siacs/conversations/xmpp/stanzas/MessagePacket.java
+++ b/src/main/java/eu/siacs/conversations/xmpp/stanzas/MessagePacket.java
@@ -26,7 +26,7 @@ public class MessagePacket extends AbstractStanza {
this.children.remove(findChild("body"));
Element body = new Element("body");
body.setContent(text);
- this.children.add(body);
+ this.children.add(0, body);
}
public void setType(int type) {