From bfba33956ea276681acd864a2b77f12c054a35fd Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 29 May 2026 18:34:16 -0400 Subject: [PATCH] fix accountpanelserverprofile & update profilecollections --- src/equicordplugins/_api/profileCollections.ts | 2 +- src/plugins/accountPanelServerProfile/index.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/equicordplugins/_api/profileCollections.ts b/src/equicordplugins/_api/profileCollections.ts index e21a5a24b..51567da90 100644 --- a/src/equicordplugins/_api/profileCollections.ts +++ b/src/equicordplugins/_api/profileCollections.ts @@ -14,7 +14,7 @@ export default definePlugin({ patches: [ // message and member list popouts { - find: ".USER_PROFILE_POPOUT])", + find: '"UserProfilePopout");', replacement: { match: /user:\i,widgets:.{0,100}?\}\),/, replace: "$&Vencord.Api.ProfileCollections.renderProfileCollections(arguments[0]),", diff --git a/src/plugins/accountPanelServerProfile/index.tsx b/src/plugins/accountPanelServerProfile/index.tsx index 3dd778b4f..feedd1598 100644 --- a/src/plugins/accountPanelServerProfile/index.tsx +++ b/src/plugins/accountPanelServerProfile/index.tsx @@ -21,8 +21,7 @@ interface UserProfileProps { originalRenderPopout: () => React.ReactNode; } -const UserProfile = findComponentByCodeLazy(".POPOUT,user"); - +const UserProfile = findComponentByCodeLazy(".isNonUserBot()?", ",onClickContainer:"); let openAlternatePopout = false; let accountPanelRef: React.RefObject = { current: null };