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));
},