damus

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

commit 331d7e979229bf7c6764ea4dcc2d5172e7d85057
parent d21613a7658cae8b67cefea792f18d7e1fae1bc6
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  3 Feb 2023 11:41:31 -0800

make lnurl sanity check case insensitive

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 @@ -110,7 +110,7 @@ struct Profile: Codable { return lnaddress_to_lnurl(addr); } - if !addr.hasPrefix("lnurl") { + if !addr.lowercased().hasPrefix("lnurl") { return nil }