add obb url to unencrypted messages
This commit is contained in:
parent
a319446d41
commit
c116f735dc
|
@ -103,6 +103,7 @@ public class MessageGenerator extends AbstractGenerator {
|
|||
if (message.hasFileOnRemoteHost()) {
|
||||
Message.FileParams fileParams = message.getFileParams();
|
||||
content = fileParams.url.toString();
|
||||
packet.addChild("x","jabber:x:oob").addChild("url").setContent(content);
|
||||
} else {
|
||||
content = message.getBody();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue