From 4056cbb11c6b8d92cee116969aff0f31ab1b59e9 Mon Sep 17 00:00:00 2001 From: Ajay Bura <32841439+ajbura@users.noreply.github.com> Date: Sun, 24 Aug 2025 18:05:16 +0530 Subject: [PATCH] Hide message button from own profile (#2461) --- .../user-profile/UserRoomProfile.tsx | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/app/components/user-profile/UserRoomProfile.tsx b/src/app/components/user-profile/UserRoomProfile.tsx index e92d9098..b8b34d78 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 && (