diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-02-02 22:19:44 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-02-02 22:19:44 +0100 |
commit | 31fc730653bd3a1a5a323eabd41194a90bd29448 (patch) | |
tree | 9bd91eaab5308f86f5aa74898a6bf6863c5c8ef8 /src/main/java | |
parent | 22ccfc3092f6c5a4cdfff74f15672df9189ba244 (diff) |
don't use jingle, make httpUpload independent from filesize
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Account.java | 2 |
1 files changed, 2 insertions, 0 deletions
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<Pair<String, String>> inProgressDiscoFetches = new HashSet<>(); public boolean httpUploadAvailable(long filesize) { + //make httpUpload independent from filesize + filesize = 0; return xmppConnection != null && xmppConnection.getFeatures().httpUpload(filesize); } |