Skip to content

Commit

Permalink
Update prop info
Browse files Browse the repository at this point in the history
  • Loading branch information
n9lsjr committed Nov 12, 2024
1 parent c4377c0 commit 0f9e3b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/chat/GroupMessage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ const openLinkMessage = (url) => {
<DeleteButton on:click="{deleteMsg}"/>
<Dots on:click="{() => showMenu = true}"/>
{#if showMenu && !myMsg}
<UserOptions admin={admin} info={user}/>
<UserOptions admin={admin} info={{address: msgFrom, name: nickname}}/>
{/if}
{/if}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/rooms/components/RoomHugins.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const join_voice_channel = async (video = false, screen) => {
</div>
{/each}
{#if showMenu && user.address !== myAddress}
{#if showMenu && infoUser?.address !== myAddress}
<UserOptions on:close={() => showMenu = false} admin={admin} info={infoUser} />
{/if}
Expand Down

0 comments on commit 0f9e3b0

Please sign in to comment.