diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-06-28 13:14:21 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-06-29 15:21:41 +0200 |
commit | 7e11570f2c2eeeab17b4c024442bb849b40899df (patch) | |
tree | 68a005c26064fad3355f63afcc1737095c0d287e /src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java | |
parent | 9eb9a522050589e60bc7c76b2b040b1dadb7fd1d (diff) |
show attach button in conferences when http upload is available
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java b/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java index e16d93e1..32e8cdff 100644 --- a/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java +++ b/src/main/java/eu/siacs/conversations/http/HttpUploadConnection.java @@ -145,6 +145,7 @@ public class HttpUploadConnection implements Downloadable { Message.ImageParams params = message.getImageParams(); message.setBody(mGetUrl.toString()+"|"+String.valueOf(params.size)+"|"+String.valueOf(params.width)+"|"+String.valueOf(params.height)); message.setDownloadable(null); + message.setCounterpart(message.getConversation().getJid().toBareJid()); mXmppConnectionService.resendMessage(message); } else { fail(); |