Rename job
This commit is contained in:
parent
51952ecdc2
commit
2c8b3cdacc
@ -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)
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user