0
0
Fork 0

Add basic support for group actors (#12071)

* Show badge on group actor in WebUI

* Do not notify in case of  by following group actor

* If you mention group actor, also mention group actor followers

* Relax characters that can be used in username (same as Application)

* Revert "Relax characters that can be used in username (same as Application)"

This reverts commit 7e10a137b878d0db1b5252c52106faef5e09ca4b.

* Delete display_name method
This commit is contained in:
Takeshi Umeda 2019-12-05 04:36:33 +09:00 committed by Eugen Rochko
parent f92ed32df4
commit f43f1e0184
8 changed files with 118 additions and 9 deletions

View file

@ -49,6 +49,8 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer
'Application'
elsif object.bot?
'Service'
elsif object.group?
'Group'
else
'Person'
end