Merge pull request #986 from singpolyma/vitelity-s.ms-compatability

Vitelity's s.ms service requires <body> first
This commit is contained in:
Daniel Gultsch 2015-02-15 23:28:22 +01:00
commit 178004996b
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ public class MessagePacket extends AbstractStanza {
this.children.remove(findChild("body")); this.children.remove(findChild("body"));
Element body = new Element("body"); Element body = new Element("body");
body.setContent(text); body.setContent(text);
this.children.add(body); this.children.add(0, body);
} }
public void setType(int type) { public void setType(int type) {