Change default for lightning notifications

This commit is contained in:
Râu Cao 2024-05-23 00:22:38 +02:00
parent 3f43fe8101
commit b541e95bb7
Signed by: raucao
GPG Key ID: 37036C356E56CC51
2 changed files with 1 additions and 6 deletions

View File

@ -1,3 +1,3 @@
lightning_notify_sats_received: disabled # or xmpp, email
remotestorage_notify_auth_created: email # or xmpp, email remotestorage_notify_auth_created: email # or xmpp, email
lightning_notify_sats_received: email # or xmpp
xmpp_exchange_contacts_with_invitees: true 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) expect(response).to have_http_status(:ok)
end 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 it "does not send a zap receipt" do
expect(NostrManager::PublishZapReceipt).not_to receive(:call) expect(NostrManager::PublishZapReceipt).not_to receive(:call)
post "/webhooks/lndhub", params: payload.to_json post "/webhooks/lndhub", params: payload.to_json