From 3472f3fb2bb1ca5bbcf03abc181aee6c04ab2acd Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Sat, 14 Feb 2026 09:57:08 -0500 Subject: Increase DM fetch limit to 2^16 Given that this is for all recipients combined, 2^16 is much more reasonable than 2^8. --- src/lib/nip17.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/nip17.ts b/src/lib/nip17.ts index 6f29940d..9a6d01f6 100644 --- a/src/lib/nip17.ts +++ b/src/lib/nip17.ts @@ -19,7 +19,7 @@ let relayListCache = new Map(); import { PUBLIC_DM_RELAYS } from '$env/static/public'; const DM_RELAYS_LIST = PUBLIC_DM_RELAYS.split(','); -const DM_FETCH_LIMIT = 256; +const DM_FETCH_LIMIT = 65536; // Ensures we have access to a secret key, triggering the signer modal if needed. // Returns the sk as Uint8Array, or null if using NIP-07 extension. -- cgit v1.2.3