mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-01 05:02:21 -05:00
More formatting fixes in MUC
This commit is contained in:
parent
dd426ca6de
commit
efa4cec24d
@ -149,7 +149,11 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||||||
info = contact.getDisplayName();
|
info = contact.getDisplayName();
|
||||||
} else {
|
} else {
|
||||||
if (message.getPresence() != null) {
|
if (message.getPresence() != null) {
|
||||||
|
if (message.getPresence().isBareJid()) {
|
||||||
|
info = message.getPresence().toString();
|
||||||
|
} else {
|
||||||
info = message.getPresence().getResourcepart();
|
info = message.getPresence().getResourcepart();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
info = message.getCounterpart().toString();
|
info = message.getCounterpart().toString();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user