aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-10-29 09:57:34 +0100
committeriNPUTmice <daniel@gultsch.de>2014-10-29 09:57:34 +0100
commit64209829f779214ae7fc0c6ab35de4d006c745c4 (patch)
tree87a99ca8200757a3104d42d3116dabfeaa1c67b1
parentbb26a842694d1fd53fb2f5b579e22521f0c76e31 (diff)
fixed 'share image' context menu
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java
index 9c0c453e..bb72711b 100644
--- a/src/eu/siacs/conversations/ui/ConversationFragment.java
+++ b/src/eu/siacs/conversations/ui/ConversationFragment.java
@@ -361,8 +361,7 @@ public class ConversationFragment extends Fragment {
copyText.setVisible(false);
}
if (this.selectedMessage.getType() != Message.TYPE_IMAGE
- || (this.selectedMessage.getDownloadable() != null && this.selectedMessage
- .getDownloadable().getStatus() == Downloadable.STATUS_DELETED)) {
+ || this.selectedMessage.getDownloadable() != null) {
shareImage.setVisible(false);
}
if (this.selectedMessage.getStatus() != Message.STATUS_SEND_FAILED) {