damus

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

commit c44c0d08631566e7e9ba955a48ba4fd8db3e8b6c
parent 50d55572be1d295a79be3cf0e6e87448ce004cdf
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 26 Aug 2023 21:38:21 -0700

profile: remove deleted flag

it's not used anymore

Diffstat:
Mdamus/Nostr/Nostr.swift | 5-----
Mdamus/Util/AccountDeletion.swift | 1-
2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/damus/Nostr/Nostr.swift b/damus/Nostr/Nostr.swift @@ -79,11 +79,6 @@ class Profile: Codable { set(s) { set_val("reactions", s) } } - var deleted: Bool? { - get { return get_val("deleted"); } - set(s) { set_val("deleted", s) } - } - var display_name: String? { get { return str("display_name"); } set(s) { set_str("display_name", s) } diff --git a/damus/Util/AccountDeletion.swift b/damus/Util/AccountDeletion.swift @@ -10,7 +10,6 @@ import Foundation func created_deleted_account_profile(keypair: FullKeypair) -> NostrEvent? { let profile = Profile() - profile.deleted = true profile.about = "account deleted" profile.name = "nobody"