diff --git a/src/element/live-chat.tsx b/src/element/live-chat.tsx index e5b8db9..d1880f7 100644 --- a/src/element/live-chat.tsx +++ b/src/element/live-chat.tsx @@ -146,7 +146,7 @@ function ChatZap({ ev }: { ev: TaggedRawEvent }) {
- {(options?.showAvatar ?? true) && pubkey === "anon" ? ( - - ) : ( - {profile?.name - )} - {(options?.showName ?? true) && ( + {showAvatar && + (pubkey === "anon" ? ( + + ) : ( + {profile?.name + ))} + {showName && ( {options?.overrideName ?? pubkey === "anon" ? "Anon"