diff --git a/static/js/index.js b/static/js/index.js index 0075f28..c44c4ca 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -93,7 +93,8 @@ new Vue({ : 'do nothing', lnurl: link.lnurl, pay_url: link.pay_url, - print_url: link.print_url + print_url: link.print_url, + username: link.username } this.qrCodeDialog.show = true }, diff --git a/templates/lnurlp/index.html b/templates/lnurlp/index.html index 405ea3a..adbcdb7 100644 --- a/templates/lnurlp/index.html +++ b/templates/lnurlp/index.html @@ -319,6 +319,10 @@ Dispatches webhook to: {{ qrCodeDialog.data.webhook }}
On success: {{ qrCodeDialog.data.success }}
+ + Lightning Address: {{ qrCodeDialog.data.username}}@{{domain}} +
+

{% endraw %}