Fix: モデレーターが投稿を編集するとき、編集したアカウントを保存する処理においてkmy.blueサーバー向け個別設定を削除 (#735)

This commit is contained in:
KMY(雪あすか) 2024-04-26 12:43:21 +09:00 committed by GitHub
parent 081a9f5e18
commit 801d3bcf3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,7 +125,7 @@ module Admin
return @edit_account_id || @account.id if @edit_account_checked return @edit_account_id || @account.id if @edit_account_checked
@edit_account_checked = true @edit_account_checked = true
@edit_account_id = Account.local.find_by(username: 'official')&.id || @account.id @edit_account_id = Account.representative.id
end end
def filter_params def filter_params