From 16e8de10855aef0750977a084c4ccb09762b3dfc Mon Sep 17 00:00:00 2001 From: steckbrief Date: Tue, 19 Apr 2016 21:53:23 +0200 Subject: Removed download decision MUST if the message contains jabber:x:oob:oob/url --- src/main/java/de/thedevstack/conversationsplus/entities/Message.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/main') 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) { -- cgit v1.2.3