diff --git a/config/default_preferences.yml b/config/default_preferences.yml index c65d658..8b622c1 100644 --- a/config/default_preferences.yml +++ b/config/default_preferences.yml @@ -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 diff --git a/spec/requests/webhooks_spec.rb b/spec/requests/webhooks_spec.rb index 65e0f5b..922e811 100644 --- a/spec/requests/webhooks_spec.rb +++ b/spec/requests/webhooks_spec.rb @@ -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