aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2015-02-19 14:36:52 +0100
committeriNPUTmice <daniel@gultsch.de>2015-02-19 14:36:52 +0100
commitf26f6e9a00c740a7cfc8895f30d406c4409fb662 (patch)
tree44a044600e8403db838ab3a9eda9d3b2f08ef5f8 /src/main/java/eu
parent2e596c0bd4608feae238ece9edbb3ad5e7c436f4 (diff)
fixed #993
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationFragment.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
index 91aaab00..35599946 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
@@ -420,7 +420,8 @@ public class ConversationFragment extends Fragment {
MenuItem copyUrl = menu.findItem(R.id.copy_url);
MenuItem downloadImage = menu.findItem(R.id.download_image);
MenuItem cancelTransmission = menu.findItem(R.id.cancel_transmission);
- if (m.getType() != Message.TYPE_TEXT || m.getDownloadable() != null) {
+ if ((m.getType() != Message.TYPE_TEXT && m.getType() != Message.TYPE_PRIVATE)
+ || m.getDownloadable() != null) {
copyText.setVisible(false);
}
if (m.getType() == Message.TYPE_TEXT