damus

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

commit 2f0bf20845addeacce5bebdd821626dc109cac2f
parent e7b2cc9df1f486ca35e1368779044af55843b015
Author: Yuki Kishimoto <yukikishimoto@protonmail.com>
Date:   Mon, 26 Dec 2022 01:54:50 +0100

profile: save lnaddress to lud16 instead of lud06 and vice versa

Diffstat:
Mdamus/Views/EditMetadataView.swift | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/damus/Views/EditMetadataView.swift b/damus/Views/EditMetadataView.swift @@ -84,8 +84,8 @@ struct EditMetadataView: View { website: website, nip05: nip05.isEmpty ? nil : nip05, picture: picture.isEmpty ? nil : picture, - lud06: ln.contains("@") ? ln : nil, - lud16: ln.contains("@") ? nil : ln + lud06: ln.contains("@") ? nil : ln, + lud16: ln.contains("@") ? ln : nil ); let m_metadata_ev = make_metadata_event(keypair: damus_state.keypair, metadata: metadata)