fix: NoBlockedMessages (#1870)

main
redstonekasi 1 year ago committed by GitHub
parent 024a77c577
commit 4f8c75372c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,11 +29,11 @@ export default definePlugin({
authors: [Devs.rushii, Devs.Samu], authors: [Devs.rushii, Devs.Samu],
patches: [ patches: [
{ {
find: 'safety_prompt:"DMSpamExperiment",response:"show_redacted_messages"', find: "Messages.BLOCKED_MESSAGES_HIDE",
replacement: [ replacement: [
{ {
match: /\.collapsedReason;return/, match: /let\{[^}]*collapsedReason[^}]*\}/,
replace: ".collapsedReason;return null;return;" replace: "return null;$&"
} }
] ]
}, },

Loading…
Cancel
Save