mirror of
git://jb55.com/damus
synced 2024-10-06 19:53:22 +00:00
make lnurl sanity check case insensitive
This commit is contained in:
parent
d21613a765
commit
331d7e9792
@ -110,7 +110,7 @@ struct Profile: Codable {
|
||||
return lnaddress_to_lnurl(addr);
|
||||
}
|
||||
|
||||
if !addr.hasPrefix("lnurl") {
|
||||
if !addr.lowercased().hasPrefix("lnurl") {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user