This commit is contained in:
iNPUTmice 2015-02-19 14:36:52 +01:00
parent 2e596c0bd4
commit f26f6e9a00

View file

@ -420,7 +420,8 @@ public class ConversationFragment extends Fragment {
MenuItem copyUrl = menu.findItem(R.id.copy_url); MenuItem copyUrl = menu.findItem(R.id.copy_url);
MenuItem downloadImage = menu.findItem(R.id.download_image); MenuItem downloadImage = menu.findItem(R.id.download_image);
MenuItem cancelTransmission = menu.findItem(R.id.cancel_transmission); 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); copyText.setVisible(false);
} }
if (m.getType() == Message.TYPE_TEXT if (m.getType() == Message.TYPE_TEXT