mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
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
Block a user