aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/noBlockedMessages.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-11 16:14:05 +0100
committerVendicated <vendicated@riseup.net>2022-11-11 16:14:09 +0100
commit1176896a1b7aa5615b4aae28cc885683f0dadd1a (patch)
treed314a46e6ddcab6e3f328d0a3f535319e7c8f796 /src/plugins/noBlockedMessages.ts
parentf3aba3edb0fc67118546629f7dbdda5ff6b0ebff (diff)
downloadVencord-1176896a1b7aa5615b4aae28cc885683f0dadd1a.tar.gz
Vencord-1176896a1b7aa5615b4aae28cc885683f0dadd1a.tar.bz2
Vencord-1176896a1b7aa5615b4aae28cc885683f0dadd1a.zip
fix(plugins): PronounDB, ViewIcons, WebhookTags, NoBlockedMessages, BetterGifAltText, MessageAccessories
Diffstat (limited to 'src/plugins/noBlockedMessages.ts')
-rw-r--r--src/plugins/noBlockedMessages.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/noBlockedMessages.ts b/src/plugins/noBlockedMessages.ts
index 71e1e10..6c7a496 100644
--- a/src/plugins/noBlockedMessages.ts
+++ b/src/plugins/noBlockedMessages.ts
@@ -28,8 +28,8 @@ export default definePlugin({
find: 'safety_prompt:"DMSpamExperiment",response:"show_redacted_messages"',
replacement: [
{
- match: /collapsedReason;return (?=\w{1,2}.createElement)/,
- replace: "collapsedReason; return null;"
+ match: /\.collapsedReason;return/,
+ replace: ".collapsedReason;return null;return;"
}
]
}