diff options
author | megumin <megumin.bakaretsurie@gmail.com> | 2022-12-08 22:53:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 23:53:12 +0100 |
commit | ee24439795df84f2a226d1b915d8037b074436e9 (patch) | |
tree | 157156f973710302295ecd95db10bd3f26970564 /src/webpack/patchWebpack.ts | |
parent | 022bf17140894144fde5b59b55b5b7210c18eb93 (diff) | |
download | Vencord-ee24439795df84f2a226d1b915d8037b074436e9.tar.gz Vencord-ee24439795df84f2a226d1b915d8037b074436e9.tar.bz2 Vencord-ee24439795df84f2a226d1b915d8037b074436e9.zip |
feat(plugin): sort friend requests by date received (#280)
Diffstat (limited to 'src/webpack/patchWebpack.ts')
-rw-r--r-- | src/webpack/patchWebpack.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 273a062..8f11b63 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -137,6 +137,7 @@ function patchPush() { // @ts-ignore we change all patch.replacement to array in plugins/index for (const replacement of patch.replacement) { + if (replacement.predicate && !replacement.predicate()) continue; const lastMod = mod; const lastCode = code; |