From 085ae27088fb1b45a75e4131f7b6a9c3e6620216 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 20 Feb 2020 22:58:51 -0600 Subject: do not consider posts with `hidden` flag as distributable --- app/models/status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/status.rb b/app/models/status.rb index 01091f15a..8b5a3d189 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -251,7 +251,7 @@ class Status < ApplicationRecord end def distributable? - public_visibility? || unlisted_visibility? || local_visibility? + !hidden? || public_visibility? || unlisted_visibility? || local_visibility? end alias sign? distributable? -- cgit