diff options
author | whqwert <94757998+whqwert@users.noreply.github.com> | 2023-07-17 00:05:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-17 02:05:20 -0300 |
commit | f785aa147309ce3a59504f1211df3a77ffb77a48 (patch) | |
tree | e96c1041c03774d004f79838d98326ef3c5c446a /src | |
parent | bea7a1711e365e736cf3a9f86928fa0bdeff620a (diff) | |
download | Vencord-f785aa147309ce3a59504f1211df3a77ffb77a48.tar.gz Vencord-f785aa147309ce3a59504f1211df3a77ffb77a48.tar.bz2 Vencord-f785aa147309ce3a59504f1211df3a77ffb77a48.zip |
fix(OpenInApp): Broken patch (#1434)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/openInApp.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/openInApp.ts b/src/plugins/openInApp.ts index 83cd828..2db0b8d 100644 --- a/src/plugins/openInApp.ts +++ b/src/plugins/openInApp.ts @@ -71,7 +71,7 @@ export default definePlugin({ { find: ".CONNECTED_ACCOUNT_VIEWED,", replacement: { - match: /(?<=href:\i,onClick:function\(\)\{)(?=return \i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/, + match: /(?<=href:\i,onClick:function\(\i\)\{)(?=\i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/, replace: "$self.handleAccountView(arguments[0],$1.type,$1.id);" } } |