From f4f0c5fb867c852485d3c6fe8f8e923a6a960ce2 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Wed, 17 Jul 2024 11:00:49 -0300 Subject: [PATCH] fix(storages): publish to write relays only as well --- src/storages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storages.ts b/src/storages.ts index 4aaca1c2..418bdd5e 100644 --- a/src/storages.ts +++ b/src/storages.ts @@ -56,7 +56,7 @@ export class Storages { const tags = relayList?.tags ?? []; const activeRelays = tags.reduce((acc, [name, url, marker]) => { - if (name === 'r' && !marker) { + if (name === 'r' && (!marker || marker === 'write')) { acc.push(url); } return acc;