mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-04 16:25:06 -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