mirror of
https://github.com/Blah-IM/Weblah.git
synced 2025-07-08 23:15:33 +00:00
fix: show username in chat history
This commit is contained in:
parent
78d30020c3
commit
d361ac2db3
3 changed files with 15 additions and 3 deletions
|
@ -38,6 +38,9 @@
|
|||
<AvatarBeam size={32} name={messageSection.sender?.id} />
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
{#if messageSection.sender && !isMyself}
|
||||
<div class="px-3 py-0.5 text-xs text-sf-tertiary">{messageSection.sender.name}</div>
|
||||
{/if}
|
||||
{#each messageSection.messages as message, idx}
|
||||
<ChatMessage
|
||||
{message}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue