aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/ignoreActivities.tsx
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-01-07 03:19:28 +0100
committerVendicated <vendicated@riseup.net>2023-01-07 03:19:37 +0100
commit8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e (patch)
treec9d477c8091d2ce7ba7d233cd1befc1538450309 /src/plugins/ignoreActivities.tsx
parentb8ed72286bfca5cbcae55ca37c5968079e43a352 (diff)
downloadVencord-8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e.tar.gz
Vencord-8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e.tar.bz2
Vencord-8113ed3c8cbc8894607b7d4ed6d5bb770f1a345e.zip
Fix canary
Diffstat (limited to 'src/plugins/ignoreActivities.tsx')
-rw-r--r--src/plugins/ignoreActivities.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ignoreActivities.tsx b/src/plugins/ignoreActivities.tsx
index 981145c..a85e501 100644
--- a/src/plugins/ignoreActivities.tsx
+++ b/src/plugins/ignoreActivities.tsx
@@ -151,7 +151,7 @@ export default definePlugin({
}, {
find: ".Messages.NEW,name",
replacement: {
- match: /\(\)\.badgeContainer.+?.\?\(0,.\.jsx\)\(.{1,2},{name:(?<props>.)\.name}\):null/,
+ match: /.badgeContainer.+?.\?\(0,.\.jsx\)\(.{1,2},{name:(?<props>.)\.name}\):null/,
replace: "$&,Vencord.Plugins.plugins.IgnoreActivities.renderToggleActivityButton($<props>)"
}
}, {