diff options
author | steckbrief <steckbrief@chefmail.de> | 2016-04-19 21:53:23 +0200 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2016-04-19 21:53:23 +0200 |
commit | 16e8de10855aef0750977a084c4ccb09762b3dfc (patch) | |
tree | 94ccdf4e208764d600ef549d4a7f76f347eeee24 | |
parent | 6bd26c987af51f0a522f60e8b51b18882133a185 (diff) |
Removed download decision MUST if the message contains jabber:x:oob:oob/urlintroduce_cplus_database_version
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/entities/Message.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/entities/Message.java b/src/main/java/de/thedevstack/conversationsplus/entities/Message.java index 37147b31..b0a5bb3b 100644 --- a/src/main/java/de/thedevstack/conversationsplus/entities/Message.java +++ b/src/main/java/de/thedevstack/conversationsplus/entities/Message.java @@ -560,9 +560,6 @@ public class Message extends AbstractEntity { if (!url.getProtocol().equalsIgnoreCase("http") && !url.getProtocol().equalsIgnoreCase("https")) { mTreatAsDownloadAble = Decision.NEVER; return mTreatAsDownloadAble; - } else if (oob) { - mTreatAsDownloadAble = Decision.MUST; - return mTreatAsDownloadAble; } String extension = extractRelevantExtension(url); if (extension == null) { |