From 7f8e241b9cd3cfca48a5186bdd735c999df56171 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 23 Oct 2024 04:33:17 +0200 Subject: [PATCH] "fix" OpenInApp --- src/plugins/openInApp/index.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/plugins/openInApp/index.ts b/src/plugins/openInApp/index.ts index 576980cba..1e4f30412 100644 --- a/src/plugins/openInApp/index.ts +++ b/src/plugins/openInApp/index.ts @@ -91,15 +91,6 @@ export default definePlugin({ replace: "async function $1 if(await $self.handleLink(...arguments)) return;" } }, - // Make Spotify profile activity links open in app on web - { - find: "WEB_OPEN(", - predicate: () => !IS_DISCORD_DESKTOP && pluginSettings.store.spotify, - replacement: { - match: /\i\.\i\.isProtocolRegistered\(\)(.{0,100})window.open/g, - replace: "true$1VencordNative.native.openExternal" - } - }, { find: "no artist ids in metadata", predicate: () => !IS_DISCORD_DESKTOP && pluginSettings.store.spotify,