Skip to content

Commit

Permalink
web/rightpanel: don't show ignore button for self
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jan 23, 2025
1 parent fabf340 commit 865b2e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/src/ui/rightpanel/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ const UserInfo = ({ userID }: UserInfoProps) => {
profile={globalProfile} refreshProfile={refreshProfile} client={client} userID={userID}
/>}
<hr/>
<DeviceList client={client} room={roomCtx?.store} userID={userID}/>
<hr/>
{userID !== client.userID && <>
<MutualRooms client={client} userID={userID}/>
<hr/>
<UserModeration client={client} room={roomCtx?.store} member={memberEvt} userID={userID}/>
<hr/>
</>}
<DeviceList client={client} room={roomCtx?.store} userID={userID}/>
<hr/>
<UserModeration client={client} room={roomCtx?.store} member={memberEvt} userID={userID}/>
<hr/>
{errors?.length ? <>
<UserInfoError errors={errors}/>
<hr/>
Expand Down

0 comments on commit 865b2e4

Please sign in to comment.