Wip: Fix status searchability
This commit is contained in:
parent
2420259db1
commit
af7c325998
1 changed files with 3 additions and 3 deletions
|
@ -458,10 +458,10 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
|
||||
if searchability === visibility
|
||||
searchability
|
||||
elsif [:public, :private].include?(searchability) && [:public, :unlisted].include?(visibility)
|
||||
:private
|
||||
elsif [:public, :unlisted].include?(searchability) && [:public, :unlisted].include?(visibility) # unlisted is Followers only in kmyblue (generics: private)
|
||||
:unlisted
|
||||
else
|
||||
:direct
|
||||
:private # Reaction only in kmyblue (generics: direct)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue