From e3bc27dc7540fea6f8eaf5094627e28a089cf6b7 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 7 Oct 2026 13:15:12 -0700 Subject: DMs: read every relay our kind-10050 inbox list names (up to 8), not just the first three — a reply delivered only to the fourth (primal) never showed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- src/features/messages.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/features') diff --git a/src/features/messages.js b/src/features/messages.js index 39cc7b1..4f12812 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -3032,7 +3032,10 @@ export function messagesFeature(ctx) { const lists = await Promise.all(pks.map((pk) => fetchInboxRelays(pk).catch(() => []))); const extras = [...new Set(lists.flat().map((r) => String(r || '').trim().replace(/\/$/, '')))] .filter((r) => /^wss:\/\//i.test(r) && !DM_RELAYS.includes(r)) - .slice(0, 3); + // every inbox the list names: a sender may deliver to just one of + // them (crypticCypher's replies reached only primal, the 4th extra + // in Adam's list, while a cap of three read the first three) + .slice(0, 8); if (extras.length && dmStarted) dmSub(extras); } catch {} })(); -- cgit v1.2.3