From 2c862e60f289057909931553f5d25753309b557f Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 13 Sep 2024 18:18:56 -0400 Subject: [PATCH] Update To Given Patch --- src/equicordplugins/disableCameras/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/equicordplugins/disableCameras/index.tsx b/src/equicordplugins/disableCameras/index.tsx index 636844f5..aa928134 100644 --- a/src/equicordplugins/disableCameras/index.tsx +++ b/src/equicordplugins/disableCameras/index.tsx @@ -13,11 +13,11 @@ export default definePlugin({ authors: [Devs.Joona], patches: [ { - find: 'logger.error("Connect called', + find: ".identifyStartTime));", replacement: { - match: /case 12:this.emit\("video",(\i\.user_id).+?;/, - replace: '$&findByProps("setDisableLocalVideo").setDisableLocalVideo($1, "DISABLED");' - } + match: /\i\.self_video\|\|!1/g, + replace: "false" + }, } ] });