fall back to jingle only in 1:1. fixes #2482
This commit is contained in:
parent
2f577097d1
commit
41b3df0d43
|
@ -1186,7 +1186,8 @@ public class XmppConnectionService extends Service {
|
||||||
private void sendFileMessage(final Message message, final boolean delay) {
|
private void sendFileMessage(final Message message, final boolean delay) {
|
||||||
Log.d(Config.LOGTAG, "send file message");
|
Log.d(Config.LOGTAG, "send file message");
|
||||||
final Account account = message.getConversation().getAccount();
|
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);
|
mHttpConnectionManager.createNewUploadConnection(message, delay);
|
||||||
} else {
|
} else {
|
||||||
mJingleConnectionManager.createNewConnection(message);
|
mJingleConnectionManager.createNewConnection(message);
|
||||||
|
|
Loading…
Reference in New Issue