Refactor ejabberd API integration
This commit is contained in:
@@ -8,6 +8,7 @@ module UserManager
|
||||
LdapManager::UpdateAvatar.call(user: @user)
|
||||
|
||||
if Setting.ejabberd_enabled?
|
||||
return if Rails.env.development?
|
||||
XmppSetAvatarJob.perform_later(user: @user)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user