From 7cfcf10f487a6b97231508963807039443da16f2 Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Sun, 9 Nov 2014 07:20:08 -0500 Subject: Fix contact highlighting in MUC --- src/main/java/eu/siacs/conversations/ui/ConversationFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java index 299f06c0..58e29d30 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java @@ -280,10 +280,10 @@ public class ConversationFragment extends Fragment { if (message.getStatus() <= Message.STATUS_RECEIVED) { if (message.getConversation().getMode() == Conversation.MODE_MULTI) { if (message.getPresence() != null) { - highlightInConference(message.getPresence().toString()); + highlightInConference(message.getPresence().getResourcepart()); } else { highlightInConference(message - .getCounterpart().toString()); + .getContact().getDisplayName()); } } else { Contact contact = message.getConversation() -- cgit v1.2.3