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:
parent
0f0cc3f2eb
commit
42cd363542
15 changed files with 48 additions and 6 deletions
|
@ -37,7 +37,7 @@ class ActivityPub::ActorSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def type
|
||||
'Person'
|
||||
object.bot? ? 'Service' : 'Person'
|
||||
end
|
||||
|
||||
def following
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue