Rename job
This commit is contained in:
parent
51952ecdc2
commit
2c8b3cdacc
@ -1,4 +1,4 @@
|
||||
class ExchangeXmppContactsJob < ApplicationJob
|
||||
class XmppExchangeContactsJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform(inviter, username, domain)
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user