aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-03-18 09:08:18 +0100
committerlookshe <github@lookshe.org>2016-03-18 09:08:18 +0100
commit67586766919f5d531d610a24331c0302311f8911 (patch)
tree11eca117c1acdae854ee3c665a29456cd78d490f /src/main/java/de/thedevstack
parentb5d1ee194c25b0e4c0f0ad6c68c4390fbbc85e4c (diff)
Fixes FS#164
Diffstat (limited to 'src/main/java/de/thedevstack')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/ui/ConversationFragment.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/ui/ConversationFragment.java b/src/main/java/de/thedevstack/conversationsplus/ui/ConversationFragment.java
index e35c0f97..1bf95910 100644
--- a/src/main/java/de/thedevstack/conversationsplus/ui/ConversationFragment.java
+++ b/src/main/java/de/thedevstack/conversationsplus/ui/ConversationFragment.java
@@ -561,14 +561,6 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
|| (t != null && t instanceof HttpDownloadConnection)) {
copyUrl.setVisible(true);
}
- boolean b1 = true;
- b1 &= m.getType() == Message.TYPE_TEXT;
- b1 &= t == null;
- b1 &= m.treatAsDownloadable() != Message.Decision.NEVER;
- boolean b2 = true;
- b2 &= m.isFileOrImage();
- b2 &= t instanceof TransferablePlaceholder;
- b2 &= m.hasFileOnRemoteHost();
if ((m.getType() == Message.TYPE_TEXT && t == null && m.treatAsDownloadable() != Message.Decision.NEVER)
|| (t instanceof TransferablePlaceholder && m.hasFileOnRemoteHost())){
downloadFile.setVisible(true);