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 searchability if searchability
|
||||||
return account.searchability if account.local? && account.searchability
|
return account.searchability if account.local? && account.searchability
|
||||||
|
|
||||||
'private'
|
'direct'
|
||||||
end
|
end
|
||||||
|
|
||||||
def compute_searchability_activitypub
|
def compute_searchability_activitypub
|
||||||
return 'unlisted' if public_unlisted_visibility? && public_searchability?
|
return 'private' if public_unlisted_visibility? && public_searchability?
|
||||||
|
|
||||||
compute_searchability
|
compute_searchability
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue