feat: streamer icon

This commit is contained in:
Alejandro Gomez
2023-07-05 22:01:39 +02:00
parent 0278886976
commit 1995f23949
2 changed files with 24 additions and 5 deletions

View File

@ -101,7 +101,15 @@ export function ChatMessage({
ref={ref}
onClick={() => setShowZapDialog(true)}
>
<Profile pubkey={ev.pubkey} profile={profile} />
<Profile
icon={
ev.pubkey === streamer && (
<Icon name="signal" size={16} />
)
}
pubkey={ev.pubkey}
profile={profile}
/>
<Text content={ev.content} tags={ev.tags} />
{(hasReactions || hasZaps) && (
<div className="message-reactions">