aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/entities
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-04-19 20:14:04 +0200
committersteckbrief <steckbrief@chefmail.de>2016-04-19 20:14:04 +0200
commit4db32cdc8f44382c8768c4057851116cae07bf30 (patch)
treee67997fb658b9ca0faeb2dcf728dbb549f108712 /src/main/java/de/thedevstack/conversationsplus/entities
parentee0264d98c9a348ea29d12796bed25f9ba1494fb (diff)
Related to FS#134: Set Message flags according to httpupload hint
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/entities')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/entities/Message.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/entities/Message.java b/src/main/java/de/thedevstack/conversationsplus/entities/Message.java
index 0cb390e7..37147b31 100644
--- a/src/main/java/de/thedevstack/conversationsplus/entities/Message.java
+++ b/src/main/java/de/thedevstack/conversationsplus/entities/Message.java
@@ -537,6 +537,10 @@ public class Message extends AbstractEntity {
mTreatAsDownloadAble = Decision.NEVER;
}
+ public void setTreatAsDownloadable(Decision downloadable) {
+ this.mTreatAsDownloadAble = downloadable;
+ }
+
public Decision treatAsDownloadable() {
// only test this ones, body will not change
if (mTreatAsDownloadAble != Decision.NOT_DECIDED) {