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
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
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));
},