Add limited_scope support

This commit is contained in:
KMY 2023-08-12 22:49:28 +09:00
parent ec16074def
commit c1f6d22ad2
17 changed files with 107 additions and 10 deletions

View file

@ -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