From 864457d98329e84bbbc8fcbaa4adfae50e72af20 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 14 Apr 2025 23:21:35 -0400 Subject: [PATCH] Revert "Canary Fixes" This reverts commit 9d2da2a87e2cb557f6298c53d051ac70bb46c264. --- src/equicordplugins/betterActivities/index.tsx | 2 +- src/equicordplugins/betterBlockedUsers/index.tsx | 2 +- src/equicordplugins/friendCodes/index.tsx | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/equicordplugins/betterActivities/index.tsx b/src/equicordplugins/betterActivities/index.tsx index a797b7e1..ec4c0f41 100644 --- a/src/equicordplugins/betterActivities/index.tsx +++ b/src/equicordplugins/betterActivities/index.tsx @@ -44,7 +44,7 @@ export default definePlugin({ }, { // Show all activities in the user popout/sidebar - find: "hasAvatarForGuild(null", + find: '"UserProfilePopoutBody"', replacement: { match: /(?<=(\i)\.id\)\}\)\),(\i).*?)\(0,.{0,100}\i\.id,onClose:\i\}\)/, replace: "$self.showAllActivitiesComponent({ activity: $2, user: $1 })" diff --git a/src/equicordplugins/betterBlockedUsers/index.tsx b/src/equicordplugins/betterBlockedUsers/index.tsx index b3d64864..258933d2 100644 --- a/src/equicordplugins/betterBlockedUsers/index.tsx +++ b/src/equicordplugins/betterBlockedUsers/index.tsx @@ -83,7 +83,7 @@ export default definePlugin({ ] }, { - find: "#{intl::OUTGOING_FRIEND_REQUEST}", + find: "UserProfileModalHeaderActionButtons", replacement: [ { match: /(?<=return \i)\|\|(\i)===.*?.FRIEND/, diff --git a/src/equicordplugins/friendCodes/index.tsx b/src/equicordplugins/friendCodes/index.tsx index b2d74c22..967230a7 100644 --- a/src/equicordplugins/friendCodes/index.tsx +++ b/src/equicordplugins/friendCodes/index.tsx @@ -19,8 +19,7 @@ export default definePlugin({ replacement: { match: /header,children:\[.*?\{\}\)/, replace: "$&,$self.FriendCodesPanel" - }, - noWarn: true, + } } ],