Fetch user relays, synchronously

This commit is contained in:
2026-08-11 13:26:36 -06:00
parent 7ebc4d3833
commit 3e6971b2d1
3 changed files with 96 additions and 0 deletions
+4
View File
@@ -19,4 +19,8 @@ class NostrManagerService < ApplicationService
def site_user
Nostr::User.new(keypair: site_keypair)
end
def new_relay(url)
Nostr::Relay.new(url: url, name: URI.parse(url).host)
end
end