From 70070c65d5d63b99824aac6756e756ffa7c16572 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 2 Jul 2024 23:52:09 +0100 Subject: [PATCH] NConnect: limit 0 --- src/features/nostr/NConnect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/nostr/NConnect.ts b/src/features/nostr/NConnect.ts index a87489b3b..7a1aa67fd 100644 --- a/src/features/nostr/NConnect.ts +++ b/src/features/nostr/NConnect.ts @@ -35,7 +35,7 @@ export class NConnect { const pubkey = await this.signer.getPublicKey(); const signal = this.controller.signal; - const sub = this.relay.req([{ kinds: [24133], '#p': [pubkey] }], { signal }); + const sub = this.relay.req([{ kinds: [24133], '#p': [pubkey], limit: 0 }], { signal }); this.onSubscribed(); for await (const msg of sub) {