diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-03-23 23:18:04 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-03-23 23:18:04 +0100 |
commit | 6b899766a5872c4e53523f9decb7e6ade686b3fb (patch) | |
tree | c4d98abf4323852888130a2e9cfdf6668cf3887a /src/main/java | |
parent | 144322c71ddd10a6f129edfbeead922b4b7bf178 (diff) |
show strangers with jid instead of name in conversation list
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Conversation.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Conversation.java b/src/main/java/de/pixart/messenger/entities/Conversation.java index e3e2f0bc5..d3b0e003a 100644 --- a/src/main/java/de/pixart/messenger/entities/Conversation.java +++ b/src/main/java/de/pixart/messenger/entities/Conversation.java @@ -497,6 +497,8 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl return getJid().getUnescapedLocalpart(); } } + } else if (isWithStranger()) { + return contactJid.toBareJid().toString(); } else { return this.getContact().getDisplayName(); } |