diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-11-09 19:06:43 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-11-09 19:06:43 +0100 |
commit | 56b4ac17517c37afa09c65239687a47c1a7c0f5b (patch) | |
tree | b68cf15998cc363cc5e8b09a91291b13968c1031 /src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java | |
parent | eb9e9883611f5f5c0c2bd7466e434794ab074c22 (diff) |
use isBareJid instead of getResourcePart().isEmpty()
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java index 16239ec8..3ebb9390 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -304,7 +304,7 @@ public class MessageAdapter extends ArrayAdapter<Message> { private String getDisplayedMucCounterpart(final Jid counterpart) { if (counterpart==null) { return ""; - } else if (!counterpart.getResourcepart().isEmpty()) { + } else if (!counterpart.isBareJid()) { return counterpart.getResourcepart(); } else { return counterpart.toString(); |