mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-15 11:24:26 +01:00
fix(storages): publish to write relays only as well
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user