nip35: use pubkey lookup on relays instead of user
This commit is contained in:
1 parent
d942b823b2
commit
053812ba95
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user