Fix ClientSideBlock & NoBlockedMessages

This commit is contained in:
thororen1234 2025-03-19 16:56:17 -04:00
parent 5077b16cb0
commit 57736f8a8e
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -167,7 +167,7 @@ export default definePlugin({
}, },
// "1 blocked message" // "1 blocked message"
{ {
find: "#{intl::BLOCKED_MESSAGES_HIDE}", find: "#{intl::BLOCKED_MESSAGE_COUNT}}",
replacement: { replacement: {
match: /\i.memo\(function\(\i\){/, match: /\i.memo\(function\(\i\){/,
replace: "$&return null;" replace: "$&return null;"

View file

@ -63,7 +63,7 @@ export default definePlugin({
patches: [ patches: [
{ {
find: "#{intl::BLOCKED_MESSAGES_HIDE}", find: "#{intl::BLOCKED_MESSAGE_COUNT}}",
replacement: [ replacement: [
{ {
match: /let\{[^}]*collapsedReason[^}]*\}/, match: /let\{[^}]*collapsedReason[^}]*\}/,