Add group account support

This commit is contained in:
KMY 2023-03-14 12:15:31 +09:00
parent b08cc0eaea
commit 05211ac206
11 changed files with 64 additions and 4 deletions

View file

@ -20,7 +20,7 @@ class Settings::ProfilesController < Settings::BaseController
private
def account_params
params.require(:account).permit(:display_name, :note, :avatar, :header, :locked, :bot, :discoverable, :hide_collections, fields_attributes: [:name, :value])
params.require(:account).permit(:display_name, :note, :avatar, :header, :locked, :my_actor_type, :group_message_following_only, :discoverable, :hide_collections, fields_attributes: [:name, :value])
end
def set_account