about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-20 22:58:51 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-20 22:58:51 -0600
commit085ae27088fb1b45a75e4131f7b6a9c3e6620216 (patch)
tree056b3ae1e368c82db4c12365206f681366cc4f3b /app
parent294ac7e998af557db7f65f1e796a654b6428ec51 (diff)
do not consider posts with `hidden` flag as distributable
Diffstat (limited to 'app')
-rw-r--r--app/models/status.rb2
1 files changed, 1 insertions, 1 deletions
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?