RelationShipNotifier: Delay by 5s to fix false positives

This commit is contained in:
Vendicated 2023-03-31 17:17:50 +02:00
parent 2c8ebdce7d
commit 4dff1c5bd5
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

View File

@ -56,7 +56,9 @@ export default definePlugin({
],
async start() {
await syncAndRunChecks();
setTimeout(() => {
syncAndRunChecks();
}, 5000);
forEachEvent((ev, cb) => FluxDispatcher.subscribe(ev, cb));
},