From 9a96d856a9e61f6004e9786cc3ff509ae395be2e Mon Sep 17 00:00:00 2001
From: thororen1234 <78185467+thororen1234@users.noreply.github.com>
Date: Wed, 19 Mar 2025 14:02:48 -0400
Subject: [PATCH] AlwaysExpandProfile: Dont Show Bite Size Popout

---
 src/equicordplugins/alwaysExpandProfile/index.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/equicordplugins/alwaysExpandProfile/index.ts b/src/equicordplugins/alwaysExpandProfile/index.ts
index 42cee83a..d85a8a98 100644
--- a/src/equicordplugins/alwaysExpandProfile/index.ts
+++ b/src/equicordplugins/alwaysExpandProfile/index.ts
@@ -15,10 +15,10 @@ export default definePlugin({
     authors: [EquicordDevs.thororen],
     patches: [
         {
-            find: ".hasAvatarForGuild(null==",
+            find: '"UserProfilePopout"',
             replacement: {
-                match: /(?<=user:(\i).*?===\i\.id.*?)return/,
-                replace: "return $self.openUserProfile($1) ||"
+                match: /(?<=user:(\i).*?"PRESS_VIEW_PROFILE".{0,50})return/,
+                replace: "return $self.openUserProfile($1);"
             }
         }
     ],