Fix: #78 検索許可のas:Limited
をkmyblue:Limited
に変更
This commit is contained in:
parent
db98ef8a44
commit
0a91a3165d
5 changed files with 24 additions and 5 deletions
|
@ -198,7 +198,7 @@ class ActivityPub::Parser::StatusParser
|
|||
nil
|
||||
elsif audience_searchable_by.any? { |uri| ActivityPub::TagManager.instance.public_collection?(uri) }
|
||||
:public
|
||||
elsif audience_searchable_by.include?('as:Limited')
|
||||
elsif audience_searchable_by.include?('kmyblue:Limited') || audience_searchable_by.include?('as:Limited')
|
||||
:limited
|
||||
elsif audience_searchable_by.include?('LocalPublic')
|
||||
:public_unlisted
|
||||
|
|
|
@ -249,7 +249,7 @@ class ActivityPub::TagManager
|
|||
when 'direct'
|
||||
status.conversation_id.present? ? [uri_for(status.conversation)] : []
|
||||
when 'limited'
|
||||
['as:Limited']
|
||||
['as:Limited', 'kmyblue:Limited']
|
||||
else
|
||||
[]
|
||||
end
|
||||
|
@ -270,7 +270,7 @@ class ActivityPub::TagManager
|
|||
when 'private', 'direct'
|
||||
[account_followers_url(account)]
|
||||
when 'limited'
|
||||
['as:Limited']
|
||||
['as:Limited', 'kmyblue:Limited']
|
||||
else
|
||||
[]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue