From d1ea02408be8ecaa2b67ff8f219674639999ebba Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 14 Feb 2020 20:04:14 -0600 Subject: (actually) add `hidden` attribute to status table & model --- app/models/status.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/models/status.rb') diff --git a/app/models/status.rb b/app/models/status.rb index 19285057b..067bdb72a 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -31,6 +31,7 @@ # boostable :boolean # reject_replies :boolean # tsv :tsvector +# hidden :boolean # class Status < ApplicationRecord @@ -250,7 +251,7 @@ class Status < ApplicationRecord end def hidden? - !distributable? + hidden || !distributable? end def distributable? -- cgit