aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-07 13:15:12 -0700
committerAdam Soltys <[email protected]>2026-10-07 13:15:12 -0700
commite3bc27dc7540fea6f8eaf5094627e28a089cf6b7 (patch)
tree681174d5a41ba8d0ba71bde90734a37e5052199a /src/features
parentc82e042aa592e4e619d0c280b02486eeb859d358 (diff)
downloadcoinosv3-e3bc27dc7540fea6f8eaf5094627e28a089cf6b7.tar.gz
coinosv3-e3bc27dc7540fea6f8eaf5094627e28a089cf6b7.zip
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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/features')
-rw-r--r--src/features/messages.js5
1 files changed, 4 insertions, 1 deletions
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 {}
})();