removed oob element from file messages
This commit is contained in:
parent
52a5e72b02
commit
f81e44d339
|
@ -114,7 +114,6 @@ public class MessageGenerator extends AbstractGenerator {
|
||||||
if (fileParams.width > 0 && fileParams.height > 0) {
|
if (fileParams.width > 0 && fileParams.height > 0) {
|
||||||
addXhtmlImImage(packet,fileParams);
|
addXhtmlImImage(packet,fileParams);
|
||||||
}
|
}
|
||||||
packet.addChild("x","jabber:x:oob").addChild("url").setContent(fileParams.url.toString());
|
|
||||||
} else {
|
} else {
|
||||||
content = message.getBody();
|
content = message.getBody();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue