From 3701c476fb7a42802c5a81318ec1ea189760b454 Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Sat, 19 Sep 2026 10:53:03 -0400 Subject: [PATCH] Fix Broken Patches --- src/equicordplugins/exportMessages/index.tsx | 2 +- src/equicordplugins/fileUpload/index.tsx | 4 ++-- src/equicordplugins/statusPresets/index.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/equicordplugins/exportMessages/index.tsx b/src/equicordplugins/exportMessages/index.tsx index 7e7c785f8..d7f0e5ff2 100644 --- a/src/equicordplugins/exportMessages/index.tsx +++ b/src/equicordplugins/exportMessages/index.tsx @@ -150,7 +150,7 @@ export default definePlugin({ } }, { - find: '[role="tab"][aria-disabled="false"]', + find: ".getLastFocusableElement()}", predicate: () => settings.store.exportContacts, replacement: { match: /("aria-label":(\i).{0,25}children:null!=\i)\?(this\.renderChildren\(\i\)):null/, diff --git a/src/equicordplugins/fileUpload/index.tsx b/src/equicordplugins/fileUpload/index.tsx index 6e124f7f2..ab4c39a1c 100644 --- a/src/equicordplugins/fileUpload/index.tsx +++ b/src/equicordplugins/fileUpload/index.tsx @@ -323,9 +323,9 @@ export default definePlugin({ }, // forces an early return on the file size limit nitro upsell modal { - find: "#{intl::tRuxk9::raw}", + find: "#{intl::UPLOAD_AREA_TOO_LARGE_HELP_PREMIUM_TIER_1}", replacement: { - match: /(?<=MAX_FILE_SIZE_250_MB.{0,250})Array\.from\(\i\)\.some/, + match: /(?<=#{intl::UPLOAD_AREA_TOO_LARGE_HELP}.{0,250})Array\.from\(\i\)\.some/, replace: "$self.shouldBypassDiscordUploadSizeCheck()?false:$&" } }, diff --git a/src/equicordplugins/statusPresets/index.tsx b/src/equicordplugins/statusPresets/index.tsx index 375d06b45..94c529110 100644 --- a/src/equicordplugins/statusPresets/index.tsx +++ b/src/equicordplugins/statusPresets/index.tsx @@ -141,7 +141,7 @@ export default definePlugin({ { find: "#{intl::STATUS_MENU_LABEL}", replacement: { - match: /(popoutContainerRef:\i\}\))(?=\])/, + match: /(popoutContainerRef:\i,forceOpen:\i\}\))(?=\])/, replace: "$1,$self.render()" } },