diff --git a/app/controllers/lnurlpay_controller.rb b/app/controllers/lnurlpay_controller.rb index d00829b..b1326b1 100644 --- a/app/controllers/lnurlpay_controller.rb +++ b/app/controllers/lnurlpay_controller.rb @@ -32,7 +32,7 @@ class LnurlpayController < ApplicationController return end - memo = "Sats for #{address}" + memo = "To #{address}" memo = "#{memo}: \"#{comment}\"" if comment.present? payment_request = @user.ln_create_invoice({ diff --git a/app/controllers/webhooks_controller.rb b/app/controllers/webhooks_controller.rb index 487f43c..74f880a 100644 --- a/app/controllers/webhooks_controller.rb +++ b/app/controllers/webhooks_controller.rb @@ -27,7 +27,7 @@ class WebhooksController < ApplicationController from: "kosmos.org", # TODO domain config to: address, subject: "Sats received!", - body: "#{amt_sats} sats received in your wallet. Memo: \"#{memo}\"" + body: "#{amt_sats} sats received in your Lightning wallet:\n> #{memo}" } XmppSendMessageJob.perform_later(payload) end