Add support for account deletion

As per apple guidelines

Changelog-Added: Added support for account deletion
This commit is contained in:
William Casarin
2023-01-30 13:26:04 -08:00
parent 9fa11118d3
commit e1578c0337
12 changed files with 102 additions and 12 deletions

View File

@@ -97,7 +97,7 @@ class ProfileModel: ObservableObject, Equatable {
} else if ev.known_kind == .contacts {
handle_profile_contact_event(ev)
} else if ev.known_kind == .metadata {
process_metadata_event(profiles: damus.profiles, ev: ev)
process_metadata_event(our_pubkey: damus.pubkey, profiles: damus.profiles, ev: ev)
}
seen_event.insert(ev.id)
}