Fix private searchability from activitypub
This commit is contained in:
parent
4d4a78f7e3
commit
701163237e
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
|
||||
if searchability == visibility
|
||||
searchability
|
||||
elsif [:public, :unlisted].include?(searchability) && [:public, :unlisted].include?(visibility) # unlisted is Followers only in kmyblue (generics: private)
|
||||
elsif [:public, :unlisted, :private].include?(searchability) && [:public, :unlisted, :private].include?(visibility)
|
||||
:private
|
||||
else
|
||||
:direct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue