damus

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

commit 989684cd375b3782aceefa1225574f4da59ca334
parent 9ab03034a2ffc6abfd454f165598d768a3e99db6
Author: William Casarin <jb55@jb55.com>
Date:   Wed,  8 Feb 2023 12:54:25 -0800

Use lnaddress before lnurl for tip addresses to avoid Anigma scamming

Since anigma is scamming and setting people's lnurls

Changelog-Fixed: Use lnaddress before lnurl for tip addresses to avoid Anigma scamming

Diffstat:
Mdamus/Nostr/Nostr.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Nostr/Nostr.swift b/damus/Nostr/Nostr.swift @@ -102,7 +102,7 @@ struct Profile: Codable { } var lnurl: String? { - guard let addr = lud06 ?? lud16 else { + guard let addr = lud16 ?? lud06 else { return nil; }