Rename job

This commit is contained in:
Râu Cao 2023-01-12 11:43:30 +08:00
parent 51952ecdc2
commit 2c8b3cdacc
Signed by: raucao
GPG Key ID: 15E65F399D084BA9
2 changed files with 2 additions and 2 deletions

View File

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

View File

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