Fix relay list tag

This commit is contained in:
2023-06-26 12:57:53 +01:00
parent e2a5f3ebd1
commit 9f8095b0df

View File

@ -262,7 +262,9 @@ export class EventPublisher {
if (rx.settings.write && !rx.settings.read) { if (rx.settings.write && !rx.settings.read) {
rTag.push("write"); rTag.push("write");
} }
eb.tag(rTag); if (rx.settings.read || rx.settings.write) {
eb.tag(rTag);
}
} }
return await this.#sign(eb); return await this.#sign(eb);
} }