From 31fc730653bd3a1a5a323eabd41194a90bd29448 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Thu, 2 Feb 2017 22:19:44 +0100 Subject: don't use jingle, make httpUpload independent from filesize --- src/main/java/de/pixart/messenger/entities/Account.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/de/pixart/messenger') diff --git a/src/main/java/de/pixart/messenger/entities/Account.java b/src/main/java/de/pixart/messenger/entities/Account.java index e040d29dd..e9fb800cc 100644 --- a/src/main/java/de/pixart/messenger/entities/Account.java +++ b/src/main/java/de/pixart/messenger/entities/Account.java @@ -60,6 +60,8 @@ public class Account extends AbstractEntity { public final HashSet> inProgressDiscoFetches = new HashSet<>(); public boolean httpUploadAvailable(long filesize) { + //make httpUpload independent from filesize + filesize = 0; return xmppConnection != null && xmppConnection.getFeatures().httpUpload(filesize); } -- cgit v1.2.3