From e58f72c20f1c90d8c2ed9244dbe897c4bdfe7759 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 20 Mar 2017 13:24:33 +0100 Subject: [PATCH] show strangers with jid instead of name in conversation list --- src/main/java/eu/siacs/conversations/entities/Conversation.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/eu/siacs/conversations/entities/Conversation.java b/src/main/java/eu/siacs/conversations/entities/Conversation.java index 415e68b57..0b952dd66 100644 --- a/src/main/java/eu/siacs/conversations/entities/Conversation.java +++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java @@ -481,6 +481,8 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl return getJid().getUnescapedLocalpart(); } } + } else if (isWithStranger()) { + return contactJid.toBareJid().toString(); } else { return this.getContact().getDisplayName(); }