Fix OpenInApp & ShowHiddenThings

This commit is contained in:
Nuckyz 2024-11-19 21:17:20 -03:00
parent cd61f4e744
commit a0308e03af
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
4 changed files with 11 additions and 7 deletions

View file

@ -87,7 +87,7 @@ export default definePlugin({
{
find: "trackAnnouncementMessageLinkClicked({",
replacement: {
match: /function (\i\(\i,\i\)\{)(?=.{0,100}trusted:)/,
match: /function (\i\(\i,\i\)\{)(?=.{0,150}trusted:)/,
replace: "async function $1 if(await $self.handleLink(...arguments)) return;"
}
},