Change default for lightning notifications
This commit is contained in:
parent
3f43fe8101
commit
b541e95bb7
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user