diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-22 00:49:56 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:19 -0500 |
commit | 6c3a1729e38264d811c1ccbe25a91b7c9b04ba9d (patch) | |
tree | 11c1187dbe2f8c68732bdd10fc9a22f3af235a99 /app/lib | |
parent | c299e9555426e36c4dbb489dcccad3ab6bad2f17 (diff) |
[Privacy] Use reply visibility gating to preserve thread permissions rather than public/private flag on thread
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/activitypub/activity/create.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb index 23786c1cc..69480ccf6 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -404,7 +404,6 @@ class ActivityPub::Activity::Create < ActivityPub::Activity uri: uri, root: object_uri, account: @account, - public: %i(public unlisted).include?(visibility_from_audience), }.freeze if conversation.blank? conversation = Conversation.create!(params) @@ -412,7 +411,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity conversation.update!(params) end elsif conversation.blank? - conversation = Conversation.create!(uri: uri, account_id: nil, public: false) + conversation = Conversation.create!(uri: uri, account_id: nil) end conversation |