Add Webhooks and XMPP notifications for incoming sats #79

Merged
raucao merged 10 commits from feature/webhooks into master 2023-01-13 04:33:02 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2c8b3cdacc - Show all commits

View File

@@ -1,4 +1,4 @@
class ExchangeXmppContactsJob < ApplicationJob
class XmppExchangeContactsJob < ApplicationJob
queue_as :default
def perform(inviter, username, domain)

View File

@@ -46,7 +46,7 @@ class CreateAccount < ApplicationService
def exchange_xmpp_contacts
#TODO enable in development when we have easy setup of ejabberd etc.
return if Rails.env.development?
ExchangeXmppContactsJob.perform_later(@invitation.user, @username, @domain)
XmppExchangeContactsJob.perform_later(@invitation.user, @username, @domain)
end
def create_lndhub_account(user)