Merge pull request #986 from singpolyma/vitelity-s.ms-compatability
Vitelity's s.ms service requires <body> first
This commit is contained in:
commit
178004996b
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue