You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than interrupt the flow to announce the invoice is invalid (a trailing " " included in the copy, I'm sorry, let me highlight that again and copy it without the trailing blank) please do your best to find the invoice wherever it is in the input.
Seems totally reasonable, I'll try to make a forgiving function for parsing invoices from user input, and use that everywhere I can. Thanks for the suggestion.
Description of the Feature or Idea
Rather than interrupt the flow to announce the invoice is invalid (a trailing " " included in the copy, I'm sorry, let me highlight that again and copy it without the trailing blank) please do your best to find the invoice wherever it is in the input.
Existing Example(s) of Feature
https://lightning-wallet.com/ is a target for sharing on Android, and when I share:
It doesn't complain, it finds the invoice within the string and offers to pay it.
Joule, context menu on Windows 10, won't even appear if that JSON fragment is highlighted.
Joule appears for that string, trailing white space and all, then chokes:
I think this is case for the Robustness Principle, "Be conservative in what you send, be liberal in what you accept" https://en.wikipedia.org/wiki/Robustness_principle
The text was updated successfully, but these errors were encountered: