diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-09-24 23:31:51 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-09-24 23:31:51 -0500 |
commit | e0103d164930cfdc088ef99761b3eccf3a6a7825 (patch) | |
tree | d2eb7765e6af7795b5af59102be6d7ff8e94d322 /app/services | |
parent | 1273ee7cfdb93c86c0767774d7a1791d1363bdc5 (diff) |
include `local` scope in visibility limit if an account is silenced
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/post_status_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index 3975a37d8..95333585f 100644 --- a/app/services/post_status_service.rb +++ b/app/services/post_status_service.rb @@ -110,7 +110,7 @@ class PostStatusService < BaseService end def limit_visibility_if_silenced - @visibility = :unlisted if @visibility.in?([nil, 'public']) && @account.silenced? || @account.force_unlisted + @visibility = :unlisted if @visibility.in?([nil, 'public', 'local']) && @account.silenced? || @account.force_unlisted end def limit_visibility_to_reply |