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();
}
}
} else if (isWithStranger()) {
return contactJid.toBareJid().toString();
} else {
return this.getContact().getDisplayName();
}