aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-10-08 00:35:23 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-10-08 00:35:23 +0200
commitf81e44d3393be26e622e169d3aff8a38722382e3 (patch)
tree1e38d8f1eb6907637f30b5799205e0eb1ccf167f
parent52a5e72b02e748780dc14b2a5f595df41f8c3f92 (diff)
removed oob element from file messages
-rw-r--r--src/main/java/eu/siacs/conversations/generator/MessageGenerator.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java b/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java
index 5ae41a0f..573049c7 100644
--- a/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java
+++ b/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java
@@ -114,7 +114,6 @@ public class MessageGenerator extends AbstractGenerator {
if (fileParams.width > 0 && fileParams.height > 0) {
addXhtmlImImage(packet,fileParams);
}
- packet.addChild("x","jabber:x:oob").addChild("url").setContent(fileParams.url.toString());
} else {
content = message.getBody();
}