aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-03-30 22:57:17 +0200
committersteckbrief <steckbrief@chefmail.de>2016-03-30 22:57:17 +0200
commit933905767c1dd647fcef93ebc0e8b47cfb93483d (patch)
tree38f53421cf10b5de6840bdcaf70a2d76f360b6c8
parenta8f667e11fdf801a1bdb7f6977440d1da5edb4fd (diff)
parent7c0c1b7e495c732772bec0f650facd08b1f69420 (diff)
Merge remote-tracking branch 'remotes/origin/trz/rename' into trz/rebase
-rw-r--r--src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
index a1f77d26..b55b766b 100644
--- a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
+++ b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
@@ -143,7 +143,9 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> {
mTimestamp.setText(UIHelper.readableTimeDifference(activity, message.getTimeSent()));
ImageView profilePicture = (ImageView) view.findViewById(R.id.conversation_image);
- profilePicture.setOnLongClickListener(new ShowResourcesListDialogListener(activity, conversation.getContact()));
+ if (conversation.getMode() == Conversation.MODE_SINGLE) {
+ profilePicture.setOnLongClickListener(new ShowResourcesListDialogListener(activity, conversation.getContact()));
+ }
loadAvatar(conversation, profilePicture);
return view;