aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-03-31 17:17:50 +0200
committerVendicated <vendicated@riseup.net>2023-03-31 17:17:50 +0200
commit4dff1c5bd5b16e926bc628acf11118344832a374 (patch)
tree7f292f28032be23de2e90e30622f1657cd020977
parent2c8ebdce7d9715dbf59e5b8335911c701edda0fd (diff)
downloadVencord-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.ts4
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));
},