Bot nameplates (#7391)

* Store actor type in database

* Add bot nameplate to web UI, add setting to preferences, API, AP
Fix #7365

* Fix code style issues
This commit is contained in:
Eugen Rochko
2018-05-07 09:31:07 +02:00
committed by GitHub
parent 0f0cc3f2eb
commit 42cd363542
15 changed files with 48 additions and 6 deletions

View File

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