Add limited_scope support
This commit is contained in:
parent
ec16074def
commit
c1f6d22ad2
17 changed files with 107 additions and 10 deletions
|
@ -86,6 +86,14 @@ class ActivityPub::Parser::StatusParser
|
|||
end
|
||||
end
|
||||
|
||||
def limited_scope
|
||||
if @object['limitedScope'] == 'Mutual'
|
||||
:mutual
|
||||
else
|
||||
:none
|
||||
end
|
||||
end
|
||||
|
||||
def language
|
||||
if content_language_map?
|
||||
@object['contentMap'].keys.first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue