From e105119293af74d192520e0b18bc4bc350394350 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Tue, 13 May 2025 19:06:15 -0400 Subject: [PATCH] Fix PinIcon (Broken With Attachments) --- src/equicordplugins/pinIcon/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/pinIcon/index.tsx b/src/equicordplugins/pinIcon/index.tsx index 8ae671dfb..f97869f45 100644 --- a/src/equicordplugins/pinIcon/index.tsx +++ b/src/equicordplugins/pinIcon/index.tsx @@ -28,9 +28,9 @@ export default definePlugin({ authors: [EquicordDevs.iamme], patches: [ { - find: "#{intl::MESSAGE_EDITED}),", + find: "isUnsupported})", replacement: { - match: /#{intl::MESSAGE_EDITED}\),(?:[^}]*[}]){3}\)/, + match: /WITH_CONTENT\}\)/, replace: "$&,$self.PinnedIcon(arguments[0].message)" } }