diff options
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index d8f69b6e9..06db41562 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -1334,6 +1334,7 @@ public class XmppConnectionService extends Service { case Message.ENCRYPTION_NONE: if (message.needsUploading()) { if (account.httpUploadAvailable(fileBackend.getFile(message, false).getSize()) + || conversation.getMode() == Conversation.MODE_MULTI || message.fixCounterpart()) { this.sendFileMessage(message, delay); } else { @@ -1347,6 +1348,7 @@ public class XmppConnectionService extends Service { case Message.ENCRYPTION_DECRYPTED: if (message.needsUploading()) { if (account.httpUploadAvailable(fileBackend.getFile(message, false).getSize()) + || conversation.getMode() == Conversation.MODE_MULTI || message.fixCounterpart()) { this.sendFileMessage(message, delay); } else { @@ -1384,6 +1386,7 @@ public class XmppConnectionService extends Service { message.setFingerprint(account.getAxolotlService().getOwnFingerprint()); if (message.needsUploading()) { if (account.httpUploadAvailable(fileBackend.getFile(message, false).getSize()) + || conversation.getMode() == Conversation.MODE_MULTI || message.fixCounterpart()) { this.sendFileMessage(message, delay); } else { |