fix: NoBlockedMessages (#1870)
This commit is contained in:
parent
024a77c577
commit
4f8c75372c
1 changed files with 3 additions and 3 deletions
|
@ -29,11 +29,11 @@ export default definePlugin({
|
|||
authors: [Devs.rushii, Devs.Samu],
|
||||
patches: [
|
||||
{
|
||||
find: 'safety_prompt:"DMSpamExperiment",response:"show_redacted_messages"',
|
||||
find: "Messages.BLOCKED_MESSAGES_HIDE",
|
||||
replacement: [
|
||||
{
|
||||
match: /\.collapsedReason;return/,
|
||||
replace: ".collapsedReason;return null;return;"
|
||||
match: /let\{[^}]*collapsedReason[^}]*\}/,
|
||||
replace: "return null;$&"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue