Add Mastodon API client, service for syncing avatars and display names #225

Merged
greg merged 13 commits from feature/mastodon_api into master 2025-05-23 08:48:16 +00:00
Showing only changes of commit a71aa3fda2 - Show all commits

View File

@ -36,7 +36,7 @@ class SettingsController < ApplicationController
if @user.avatar_new.present?
if store_user_avatar
LdapManager::UpdateAvatar.call(user: @user)
XmppSetAvatarJob.perform_later(user: @user)
XmppSetAvatarJob.perform_later(user: @user) if Setting.ejabberd_enabled?
else
@validation_errors = @user.errors
render :show, status: :unprocessable_entity and return