From e0103d164930cfdc088ef99761b3eccf3a6a7825 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 24 Sep 2019 23:31:51 -0500 Subject: include `local` scope in visibility limit if an account is silenced --- app/services/post_status_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services') 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 -- cgit