Add setting for contact roster name
And only exchange contacts when ejabberd integration is enabled
This commit is contained in:
@@ -15,7 +15,7 @@ class CreateAccount < ApplicationService
|
||||
|
||||
if @invitation.present?
|
||||
update_invitation(user.id)
|
||||
exchange_xmpp_contacts
|
||||
exchange_xmpp_contacts if Setting.ejabberd_enabled
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user