diff --git a/pkg/interface/src/views/apps/notifications/header.tsx b/pkg/interface/src/views/apps/notifications/header.tsx index f7cbc36ba0..f57d881887 100644 --- a/pkg/interface/src/views/apps/notifications/header.tsx +++ b/pkg/interface/src/views/apps/notifications/header.tsx @@ -21,7 +21,7 @@ function Author(props: { patp: string; last?: boolean }): ReactElement { const contact: Contact | undefined = contacts?.[`~${props.patp}`]; const showNickname = useShowNickname(contact); - const name = contact?.nickname || `~${props.patp}`; + const name = showNickname ? contact.nickname : `~${props.patp}`; return (