1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-11 02:16:23 +00:00

fix: NoBlockedMessages (#1870)

This commit is contained in:
redstonekasi 2023-10-25 18:09:04 +02:00 committed by Luna
parent 039c356bb3
commit 16da51b1df

View file

@ -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;$&"
}
]
},