Wip: Fix status searchability

This commit is contained in:
KMY 2023-04-06 13:34:59 +09:00
parent 2420259db1
commit af7c325998

View file

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