mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-01 05:02:21 -05:00
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 New Issue
Block a user