Does not display pubkey on message author unless its an open group chat. (#1656)

pull/1654/head
Warrick 4 years ago committed by GitHub
parent a24e0ccb32
commit d86e8cd198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -229,7 +229,7 @@ class ConversationListItem extends React.PureComponent<Props> {
const displayName = isMe ? i18n('noteToSelf') : profileName; const displayName = isMe ? i18n('noteToSelf') : profileName;
let shouldShowPubkey = false; let shouldShowPubkey = false;
if (!name || name.length === 0) { if ((!name || name.length === 0) && (!displayName || displayName.length === 0)) {
shouldShowPubkey = true; shouldShowPubkey = true;
} }

Loading…
Cancel
Save