From 4db32cdc8f44382c8768c4057851116cae07bf30 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Tue, 19 Apr 2016 20:14:04 +0200 Subject: Related to FS#134: Set Message flags according to httpupload hint --- .../de/thedevstack/conversationsplus/http/HttpUploadConnection.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/de/thedevstack/conversationsplus/http/HttpUploadConnection.java') diff --git a/src/main/java/de/thedevstack/conversationsplus/http/HttpUploadConnection.java b/src/main/java/de/thedevstack/conversationsplus/http/HttpUploadConnection.java index 6c546fee..da24f5ab 100644 --- a/src/main/java/de/thedevstack/conversationsplus/http/HttpUploadConnection.java +++ b/src/main/java/de/thedevstack/conversationsplus/http/HttpUploadConnection.java @@ -97,6 +97,8 @@ public class HttpUploadConnection implements Transferable { public void init(Message message, boolean delay) { this.message = message; + this.message.setHttpUploaded(true); + this.message.setNoDownloadable(); this.account = message.getConversation().getAccount(); this.file = FileBackend.getFile(message, false); this.mime = this.file.getMimeType(); -- cgit v1.2.3