NIP05 Verification
Changelog-Added: Added NIP05 Verification
This commit is contained in:
1 parent
104205394f
commit
8785f31834
11 files changed
+149
-51
No files matched your search
@@ -11,6 +11,11 @@ import UIKit
|
||||
|
||||
class Profiles {
|
||||
var profiles: [String: TimestampedProfile] = [:]
|
||||
var validated: [String: NIP05] = [:]
|
||||
|
||||
func is_validated(_ pk: String) -> NIP05? {
|
||||
return validated[pk]
|
||||
}
|
||||
|
||||
func add(id: String, profile: TimestampedProfile) {
|
||||
profiles[id] = profile
|
||||
|
||||
Reference in new issue
Block a user