aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-02-02 22:19:44 +0100
committerChristian Schneppe <christian@pix-art.de>2017-02-02 22:19:44 +0100
commit31fc730653bd3a1a5a323eabd41194a90bd29448 (patch)
tree9bd91eaab5308f86f5aa74898a6bf6863c5c8ef8 /src/main/java/de
parent22ccfc3092f6c5a4cdfff74f15672df9189ba244 (diff)
don't use jingle, make httpUpload independent from filesize
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/entities/Account.java2
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);
}