Update To Given Patch

This commit is contained in:
thororen1234 2024-09-13 18:18:56 -04:00
parent 1f3eb2e61a
commit 2c862e60f2

View file

@ -13,11 +13,11 @@ export default definePlugin({
authors: [Devs.Joona], authors: [Devs.Joona],
patches: [ patches: [
{ {
find: 'logger.error("Connect called', find: ".identifyStartTime));",
replacement: { replacement: {
match: /case 12:this.emit\("video",(\i\.user_id).+?;/, match: /\i\.self_video\|\|!1/g,
replace: '$&findByProps("setDisableLocalVideo").setDisableLocalVideo($1, "DISABLED");' replace: "false"
} },
} }
] ]
}); });