From c257f86576395d372a8abd9057b5c8bb1533377a Mon Sep 17 00:00:00 2001 From: Vendicated Date: Thu, 15 Dec 2022 17:52:54 +0100 Subject: [PATCH] Fix experiments --- src/plugins/experiments.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/experiments.tsx b/src/plugins/experiments.tsx index 3019e64d..a3125ae7 100644 --- a/src/plugins/experiments.tsx +++ b/src/plugins/experiments.tsx @@ -42,7 +42,7 @@ export default definePlugin({ }, { find: 'type:"user",revision', replacement: { - match: /(\w)\|\|"CONNECTION_OPEN".+?;/g, + match: /!(\w{1,3})&&"CONNECTION_OPEN".+?;/g, replace: "$1=!0;" }, }, {