From 06424452efdd84a7ad18edcd97ebc82188d74a14 Mon Sep 17 00:00:00 2001 From: Asraye Date: Mon, 15 Sep 2025 02:51:35 +1000 Subject: [PATCH] fix: remove self report sus?? --- .../modals/components/legacy/UserProfile.tsx | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/src/controllers/modals/components/legacy/UserProfile.tsx b/src/controllers/modals/components/legacy/UserProfile.tsx index dd73d897..384de82a 100644 --- a/src/controllers/modals/components/legacy/UserProfile.tsx +++ b/src/controllers/modals/components/legacy/UserProfile.tsx @@ -247,24 +247,27 @@ export const UserProfile = observer( )} - {!user.bot && flags != 2 && flags != 4 && ( - - - }> - - modalController.push({ - type: "report", - target: user, - }) + {!user.bot && + user._id !== client.user?._id && + flags != 2 && + flags != 4 && ( + + }> - - - - - )} + + modalController.push({ + type: "report", + target: user, + }) + }> + + + + + )} {badges > 0 && (