From 750e9ee9ebe67161c5e753c6a4f561c7728b50c2 Mon Sep 17 00:00:00 2001 From: HAHALOSAH <67280050+HAHALOSAH@users.noreply.github.com> Date: Tue, 18 Jun 2024 08:08:23 +0900 Subject: [PATCH] Update src/plugins/noAutoUnmute/index.ts Co-authored-by: vee --- src/plugins/noAutoUnmute/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/noAutoUnmute/index.ts b/src/plugins/noAutoUnmute/index.ts index 16204ba8e..7b25b41c6 100644 --- a/src/plugins/noAutoUnmute/index.ts +++ b/src/plugins/noAutoUnmute/index.ts @@ -27,8 +27,8 @@ export default definePlugin({ { find: "isSelfMute(){", replacement: { - match: /video:\i}=\i;/, - replace: "$&return;" + match: /\(\i.mute||\i.deaf\)&&/, + replace: "false&&" }, }, ],