Fix activitypub searchability unlist
This commit is contained in:
parent
4a19077534
commit
45588ca5f8
1 changed files with 2 additions and 2 deletions
|
@ -390,11 +390,11 @@ class Status < ApplicationRecord
|
|||
return searchability if searchability
|
||||
return account.searchability if account.local? && account.searchability
|
||||
|
||||
'private'
|
||||
'direct'
|
||||
end
|
||||
|
||||
def compute_searchability_activitypub
|
||||
return 'unlisted' if public_unlisted_visibility? && public_searchability?
|
||||
return 'private' if public_unlisted_visibility? && public_searchability?
|
||||
|
||||
compute_searchability
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue