mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix(storages): publish to write relays only as well
This commit is contained in:
parent
f5ee5ea6a3
commit
f4f0c5fb86
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ export class Storages {
|
||||||
const tags = relayList?.tags ?? [];
|
const tags = relayList?.tags ?? [];
|
||||||
|
|
||||||
const activeRelays = tags.reduce((acc, [name, url, marker]) => {
|
const activeRelays = tags.reduce((acc, [name, url, marker]) => {
|
||||||
if (name === 'r' && !marker) {
|
if (name === 'r' && (!marker || marker === 'write')) {
|
||||||
acc.push(url);
|
acc.push(url);
|
||||||
}
|
}
|
||||||
return acc;
|
return acc;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue