diff options
-rw-r--r-- | src/main/java/de/pixart/messenger/http/HttpUploadConnection.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/de/pixart/messenger/http/HttpUploadConnection.java b/src/main/java/de/pixart/messenger/http/HttpUploadConnection.java index e2dd6930c..658230e3f 100644 --- a/src/main/java/de/pixart/messenger/http/HttpUploadConnection.java +++ b/src/main/java/de/pixart/messenger/http/HttpUploadConnection.java @@ -145,11 +145,11 @@ public class HttpUploadConnection implements Transferable { } } } + if (!canceled) { + new Thread(this::upload).start(); + } + return; } - if (!canceled) { - new Thread(this::upload).start(); - } - return; } catch (MalformedURLException e) { //fall through } |