From 41b3df0d4394394dc7747c80224b3468da060626 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 13 May 2017 08:11:24 +0200 Subject: [PATCH] fall back to jingle only in 1:1. fixes #2482 --- .../eu/siacs/conversations/services/XmppConnectionService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 41a974974..ff5adfdc0 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -1186,7 +1186,8 @@ public class XmppConnectionService extends Service { private void sendFileMessage(final Message message, final boolean delay) { Log.d(Config.LOGTAG, "send file message"); final Account account = message.getConversation().getAccount(); - if (account.httpUploadAvailable(fileBackend.getFile(message,false).getSize())) { + if (account.httpUploadAvailable(fileBackend.getFile(message,false).getSize()) + || message.getConversation().getMode() == Conversation.MODE_MULTI) { mHttpConnectionManager.createNewUploadConnection(message, delay); } else { mJingleConnectionManager.createNewConnection(message);