diff options
author | Vendicated <vendicated@riseup.net> | 2023-03-31 17:17:50 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-03-31 17:17:50 +0200 |
commit | 4dff1c5bd5b16e926bc628acf11118344832a374 (patch) | |
tree | 7f292f28032be23de2e90e30622f1657cd020977 | |
parent | 2c8ebdce7d9715dbf59e5b8335911c701edda0fd (diff) | |
download | Vencord-4dff1c5bd5b16e926bc628acf11118344832a374.tar.gz Vencord-4dff1c5bd5b16e926bc628acf11118344832a374.tar.bz2 Vencord-4dff1c5bd5b16e926bc628acf11118344832a374.zip |
RelationShipNotifier: Delay by 5s to fix false positives
-rw-r--r-- | src/plugins/relationshipNotifier/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/relationshipNotifier/index.ts b/src/plugins/relationshipNotifier/index.ts index fb91ca3..6319142 100644 --- a/src/plugins/relationshipNotifier/index.ts +++ b/src/plugins/relationshipNotifier/index.ts @@ -56,7 +56,9 @@ export default definePlugin({ ], async start() { - await syncAndRunChecks(); + setTimeout(() => { + syncAndRunChecks(); + }, 5000); forEachEvent((ev, cb) => FluxDispatcher.subscribe(ev, cb)); }, |