damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 053812ba95d743369b7a1adff1847706d1e1676d
parent d942b823b269546039ce23e2831c6dc19840c2ab
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 19 Nov 2022 11:34:26 -0800

nip35: use pubkey lookup on relays instead of user

Diffstat:
Mdamus/Views/LoginView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/LoginView.swift b/damus/Views/LoginView.swift @@ -226,7 +226,7 @@ func get_nip05_pubkey(id: String) async -> NIP05User? { var relays: [String] = [] if let rs = json.relays { - if let rs = rs[user] { + if let rs = rs[pubkey] { relays = rs } }