From d86e8cd1981edc322450ffe19bb130c60b3694b5 Mon Sep 17 00:00:00 2001 From: Warrick Date: Mon, 24 May 2021 15:48:20 +1000 Subject: [PATCH] Does not display pubkey on message author unless its an open group chat. (#1656) --- ts/components/ConversationListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/ConversationListItem.tsx b/ts/components/ConversationListItem.tsx index a2404c912..76f1ce05f 100644 --- a/ts/components/ConversationListItem.tsx +++ b/ts/components/ConversationListItem.tsx @@ -229,7 +229,7 @@ class ConversationListItem extends React.PureComponent { const displayName = isMe ? i18n('noteToSelf') : profileName; let shouldShowPubkey = false; - if (!name || name.length === 0) { + if ((!name || name.length === 0) && (!displayName || displayName.length === 0)) { shouldShowPubkey = true; }