login: allow user to login to deleted profile

If they every change their mind.

Changelog-Fixed: Allow user to login to deleted profile
This commit is contained in:
William Casarin
2023-07-17 11:30:09 -07:00
parent 5c87dd5bbb
commit d04f1c6867
2 changed files with 0 additions and 15 deletions

View File

@@ -783,11 +783,6 @@ func print_filters(relay_id: String?, filters groups: [[NostrFilter]]) {
}
func process_metadata_profile(our_pubkey: String, profiles: Profiles, profile: Profile, ev: NostrEvent) {
if our_pubkey == ev.pubkey && (profile.deleted ?? false) {
notify(.deleted_account, ())
return
}
var old_nip05: String? = nil
let mprof = profiles.lookup_with_timestamp(id: ev.pubkey)