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