diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-02-14 20:04:14 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-15 02:45:41 +0000 |
commit | d1ea02408be8ecaa2b67ff8f219674639999ebba (patch) | |
tree | a83f0d6b360019a8d682fc4723a752e73be0d03f /app/models/status.rb | |
parent | 6185c6e2a3d2dc9cfb062014c73ea636a9d040bf (diff) |
(actually) add `hidden` attribute to status table & model
Diffstat (limited to 'app/models/status.rb')
-rw-r--r-- | app/models/status.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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? |