show strangers with jid instead of name in conversation list

This commit is contained in:
Daniel Gultsch 2017-03-20 13:24:33 +01:00
parent c2c6904eda
commit e58f72c20f

View File

@ -481,6 +481,8 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
return getJid().getUnescapedLocalpart(); return getJid().getUnescapedLocalpart();
} }
} }
} else if (isWithStranger()) {
return contactJid.toBareJid().toString();
} else { } else {
return this.getContact().getDisplayName(); return this.getContact().getDisplayName();
} }