OpenInApp: Fix links in messages
This commit is contained in:
parent
a67c7f841d
commit
370b3d366d
@ -55,8 +55,8 @@ export default definePlugin({
|
||||
{
|
||||
find: "trackAnnouncementMessageLinkClicked({",
|
||||
replacement: {
|
||||
match: /(?<=handleClick:function\(\)\{return (\i)\}.+?)async function \1\(.+?\)\{/,
|
||||
replace: "$& if(await $self.handleLink(...arguments)) return;"
|
||||
match: /(?<=handleClick:function\(\)\{return (\i)\}.+?)function \1\(.+?\)\{/,
|
||||
replace: "async $& if(await $self.handleLink(...arguments)) return;"
|
||||
}
|
||||
},
|
||||
// Make Spotify profile activity links open in app on web
|
||||
|
Loading…
x
Reference in New Issue
Block a user