mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42:15 -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()) {
|
if (message.hasFileOnRemoteHost()) {
|
||||||
Message.FileParams fileParams = message.getFileParams();
|
Message.FileParams fileParams = message.getFileParams();
|
||||||
content = fileParams.url.toString();
|
content = fileParams.url.toString();
|
||||||
|
packet.addChild("x","jabber:x:oob").addChild("url").setContent(content);
|
||||||
} else {
|
} else {
|
||||||
content = message.getBody();
|
content = message.getBody();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user