fix ImageZoom, LoadingQuote, NoRPC, RevealAllSpoilers, SecretRingTone (#2306)

This commit is contained in:
AutumnVN 2024-03-28 12:43:05 +07:00 committed by GitHub
parent 82ab3ad1b9
commit de9122b05b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View file

@ -30,9 +30,9 @@ export default definePlugin({
patches: [
{
find: ".removeObscurity=",
find: ".removeObscurity,",
replacement: {
match: /(?<=\.removeObscurity=(\i)=>{)/,
match: /(?<="removeObscurity",(\i)=>{)/,
replace: (_, event) => `$self.reveal(${event});`
}
}