#[3] is there a workaround for this issue of replacing mentions of lnurlp with pay links?

Reply to this note

Please Login to reply.

Discussion

Adding a space or two so that it’s not a link might be wort a try?

Maybe matching with a regex something like ^(?i)(LNURL)[a-zA-Z0-9]{71}$ (match strings starting with lurl containing another 71 characters would do the trick.

test invoice lnbc1u1p3l9uw3pp5rg9n9zw3pzvx9dm86hxnh6age2elvq7m93mx5jd7mhzz459085kqdq8w3jhxaqcqzpgxqr23ssp5phap6epetxns5meyjc9mynmw4ee0l0gy9pf7a3v9kxc0v2kvtg5s9qyyssqsjgsnual33rjpfs6zsdhhfe2ket292760e72fk7dgkutunkapu79hx0tw0q6624vu4n6t2dxqus5gsk5g2q6kjudedx5cn7927mmy0cq7ekv9e

Fixed in https://github.com/irislib/iris-messenger/pull/289 ! 🙇🏻@npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk