From 5a77149b262ee8b5cdb2f93539eb7f58fb8210ad Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Wed, 8 Jan 2025 19:06:09 -0300 Subject: [PATCH] PinDMs: Fix real time updating when changing settings again... --- src/plugins/pinDms/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/pinDms/index.tsx b/src/plugins/pinDms/index.tsx index 3e2044116..8cbb03bfc 100644 --- a/src/plugins/pinDms/index.tsx +++ b/src/plugins/pinDms/index.tsx @@ -124,7 +124,7 @@ export default definePlugin({ { find: ".FRIENDS},\"friends\"", replacement: { - match: /(?<=\i=\i=>{).{1,100}premiumTabSelected.{0,950}showDMHeader:.+?,/, + match: /let{showLibrary:\i,.+?showDMHeader:.+?,/, replace: "let forceUpdate = Vencord.Util.useForceUpdater();$&_forceUpdate:forceUpdate," } },