Only update other avatars in one place

Prevent future mistakes
This commit is contained in:
2025-05-17 17:55:14 +04:00
parent a71aa3fda2
commit 6730aae2dc
3 changed files with 17 additions and 4 deletions

View File

@@ -7,8 +7,7 @@ module UserManager
def call
if import_remote_avatar
LdapManager::UpdateAvatar.call(user: @user)
XmppSetAvatarJob.perform_later(user: @user) if Setting.ejabberd_enabled?
UserManager::UpdateAvatar.call(user: @user)
end
end