aboutsummaryrefslogtreecommitdiffstats
path: root/lib/nostr.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nostr.js')
-rw-r--r--lib/nostr.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/nostr.js b/lib/nostr.js
index c75955bd..53c8d7d1 100644
--- a/lib/nostr.js
+++ b/lib/nostr.js
@@ -44,7 +44,10 @@ pool.on("event", async (relay, sub, ev) => {
await redis.sAdd(pubkey, ev.id);
await redis.set(`ev:${ev.id}`, JSON.stringify(ev));
- store.timeouts[pubkey] = setTimeout(() => (store.fetching[pubkey] = false), 100);
+ store.timeouts[pubkey] = setTimeout(
+ () => (store.fetching[pubkey] = false),
+ 100
+ );
}
} catch (e) {
console.log(e);