Fix contact highlighting in MUC

This commit is contained in:
Sam Whited 2014-11-09 07:20:08 -05:00
parent fc594e9b73
commit 7cfcf10f48

View File

@ -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()