diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-11-02 02:34:16 -0600 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-11-02 02:34:16 -0600 |
commit | 2f230d5c60dcb003b2bad8213daa26a27c6f8610 (patch) | |
tree | 10d8d6ba9910e1304320302e7f436dc468d92fb4 | |
parent | 58b80d03de8a79ef3764c9bd48a22317e6bf6b95 (diff) |
Also use participant-only visibility for local replies to private posts
-rw-r--r-- | app/models/status.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/status.rb b/app/models/status.rb index 50a558ed1..73eda2c4c 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -659,6 +659,7 @@ class Status < ApplicationRecord if reply? && !thread.nil? self.in_reply_to_account_id = carried_over_reply_to_account_id self.conversation_id = thread.conversation_id if conversation_id.nil? + self.visibility = :limited if visibility.to_s == 'private' && in_reply_to_account_id != account_id end end |