diff --git a/src/equicordplugins/_api/profileCollections.ts b/src/equicordplugins/_api/profileCollections.ts index f573c006a..e21a5a24b 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: "#{intl::USER_PROFILE_FRIEND_REQUEST_TOAST}", + find: ".USER_PROFILE_POPOUT])", replacement: { match: /user:\i,widgets:.{0,100}?\}\),/, replace: "$&Vencord.Api.ProfileCollections.renderProfileCollections(arguments[0]),", diff --git a/src/plugins/showConnections/index.tsx b/src/plugins/showConnections/index.tsx index 0bf38c331..26afd7f1b 100644 --- a/src/plugins/showConnections/index.tsx +++ b/src/plugins/showConnections/index.tsx @@ -168,7 +168,7 @@ export default definePlugin({ patches: [ { // Same find as ReviewDB - find: "#{intl::USER_PROFILE_FRIEND_REQUEST_TOAST}", + find: ".USER_PROFILE_POPOUT])", replacement: { match: /userId:\i\.id,guild:\i\}\)(?=])/, replace: "$&,$self.profilePopoutComponent(arguments[0])"