Add and use relay list settings

This commit is contained in:
2026-04-21 18:30:17 +04:00
parent c5316bf336
commit 8d40b3bb35
7 changed files with 332 additions and 25 deletions

View File

@@ -13,6 +13,7 @@ import { or, not } from 'ember-truth-helpers';
export default class PlacePhotoUpload extends Component {
@service nostrAuth;
@service nostrRelay;
@service nostrData;
@service blossom;
@service toast;
@@ -181,7 +182,7 @@ export default class PlacePhotoUpload extends Component {
}
const event = await factory.sign(template);
await this.nostrRelay.publish(event);
await this.nostrRelay.publish(this.nostrData.activeWriteRelays, event);
this.toast.show('Photos published successfully');
this.status = '';