Fix OpenInApp patch

This commit is contained in:
Nuckyz 2023-09-02 03:03:50 -03:00
parent 29fbe3701a
commit c165725297
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -55,7 +55,7 @@ export default definePlugin({
{ {
find: '"MaskedLinkStore"', find: '"MaskedLinkStore"',
replacement: { replacement: {
match: /return ((\i)\.apply\(this,arguments\))(?=\}function \i.{0,200}\.trusted)/, match: /return ((\i)\.apply\(this,arguments\))(?=\}function \i.{0,250}\.trusted)/,
replace: "return $self.handleLink(...arguments).then(handled => handled||$1)" replace: "return $self.handleLink(...arguments).then(handled => handled||$1)"
} }
}, },