removed oob element from file messages

This commit is contained in:
Daniel Gultsch 2015-10-08 00:35:23 +02:00
parent 52a5e72b02
commit f81e44d339
1 changed files with 0 additions and 1 deletions

View File

@ -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();
} }