Add circle visibility
This commit is contained in:
parent
44eb57183e
commit
3af223275f
20 changed files with 154 additions and 12 deletions
|
@ -87,8 +87,11 @@ class ActivityPub::Parser::StatusParser
|
|||
end
|
||||
|
||||
def limited_scope
|
||||
if @object['limitedScope'] == 'Mutual'
|
||||
case @object['limitedScope']
|
||||
when 'Mutual'
|
||||
:mutual
|
||||
when 'Circle'
|
||||
:circle
|
||||
else
|
||||
:none
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue