diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java index 109e0fe5f..b7c2cf4d8 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java @@ -1612,6 +1612,10 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke } Transferable transferable = message.getTransferable(); if (transferable != null) { + if (transferable instanceof TransferablePlaceholder && message.treatAsDownloadable()) { + activity.xmppConnectionService.getHttpConnectionManager().createNewDownloadConnection(message, true); + return; + } if (!transferable.start()) { Toast.makeText(getActivity(), R.string.not_connected_try_again, Toast.LENGTH_SHORT).show(); } |