Add new Lightning notification settings #193

Merged
raucao merged 5 commits from feature/ln_notification_settings into master 2024-06-04 10:39:08 +00:00
2 changed files with 1 additions and 6 deletions
Showing only changes of commit b541e95bb7 - Show all commits

View File

@ -1,3 +1,3 @@
lightning_notify_sats_received: disabled # or xmpp, email
remotestorage_notify_auth_created: email # or xmpp, email
lightning_notify_sats_received: email # or xmpp
xmpp_exchange_contacts_with_invitees: true

View File

@ -60,11 +60,6 @@ RSpec.describe "Webhooks", type: :request do
expect(response).to have_http_status(:ok)
end
it "does not send notifications by default" do
post "/webhooks/lndhub", params: payload.to_json
expect(enqueued_jobs.size).to eq(0)
end
it "does not send a zap receipt" do
expect(NostrManager::PublishZapReceipt).not_to receive(:call)
post "/webhooks/lndhub", params: payload.to_json