Fix PinIcon (Broken With Attachments)
Some checks are pending
Test / Test (push) Waiting to run

This commit is contained in:
thororen1234 2025-05-13 19:06:15 -04:00
parent 0b9fde4bf0
commit e105119293
No known key found for this signature in database

View file

@ -28,9 +28,9 @@ export default definePlugin({
authors: [EquicordDevs.iamme], authors: [EquicordDevs.iamme],
patches: [ patches: [
{ {
find: "#{intl::MESSAGE_EDITED}),", find: "isUnsupported})",
replacement: { replacement: {
match: /#{intl::MESSAGE_EDITED}\),(?:[^}]*[}]){3}\)/, match: /WITH_CONTENT\}\)/,
replace: "$&,$self.PinnedIcon(arguments[0].message)" replace: "$&,$self.PinnedIcon(arguments[0].message)"
} }
} }