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.getStatus() <= Message.STATUS_RECEIVED) {
|
||||||
if (message.getConversation().getMode() == Conversation.MODE_MULTI) {
|
if (message.getConversation().getMode() == Conversation.MODE_MULTI) {
|
||||||
if (message.getPresence() != null) {
|
if (message.getPresence() != null) {
|
||||||
highlightInConference(message.getPresence().toString());
|
highlightInConference(message.getPresence().getResourcepart());
|
||||||
} else {
|
} else {
|
||||||
highlightInConference(message
|
highlightInConference(message
|
||||||
.getCounterpart().toString());
|
.getContact().getDisplayName());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Contact contact = message.getConversation()
|
Contact contact = message.getConversation()
|
||||||
|
|
Loading…
Reference in a new issue