Fix contact highlighting in MUC
This commit is contained in:
parent
fc594e9b73
commit
7cfcf10f48
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue