diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-11 12:46:50 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:17 -0500 |
commit | 163bc1a706e9a94687d28c885c1ff02089498b94 (patch) | |
tree | 5ea1d2afcc87b216763d33f3590f15150498837b /app/services | |
parent | 351b3819b29b316136553e1f88032a9df9a7a731 (diff) |
[Privacy] Check permissions of boosts and dereference boosts before sending to public timelines
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/fan_out_on_write_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb index 08963cf5e..6102ed1e5 100644 --- a/app/services/fan_out_on_write_service.rb +++ b/app/services/fan_out_on_write_service.rb @@ -9,7 +9,7 @@ class FanOutOnWriteService < BaseService deliver_to_self(status) if status.account.local? return if only_to_self || !status.published? - render_anonymous_payload(status) + render_anonymous_payload(status.proper) if status.direct_visibility? deliver_to_mentioned_followers(status) |