From 4dff1c5bd5b16e926bc628acf11118344832a374 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 31 Mar 2023 17:17:50 +0200 Subject: [PATCH] RelationShipNotifier: Delay by 5s to fix false positives --- src/plugins/relationshipNotifier/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/relationshipNotifier/index.ts b/src/plugins/relationshipNotifier/index.ts index fb91ca37b..6319142c0 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)); },