From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Sun, 24 Aug 2025 12:35:16 +0000 (+0530) Subject: Hide message button from own profile (#2461) X-Git-Tag: v4.10.0~8 X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=4056cbb11c6b8d92cee116969aff0f31ab1b59e9;p=rainny.git Hide message button from own profile (#2461) --- diff --git a/src/app/components/user-profile/UserRoomProfile.tsx b/src/app/components/user-profile/UserRoomProfile.tsx index e92d909..b8b34d7 100644 --- a/src/app/components/user-profile/UserRoomProfile.tsx +++ b/src/app/components/user-profile/UserRoomProfile.tsx @@ -95,25 +95,27 @@ export function UserRoomProfile({ userId }: UserRoomProfileProps) { - - - + {userId !== myUserId && ( + + + + )} {directMessageState.status === AsyncStatus.Error && (