about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/conversation.rb9
-rw-r--r--app/models/status.rb3
2 files changed, 7 insertions, 5 deletions
diff --git a/app/models/conversation.rb b/app/models/conversation.rb
index 7d277fa85..d9ee6c8b2 100644
--- a/app/models/conversation.rb
+++ b/app/models/conversation.rb
@@ -3,10 +3,11 @@
 #
 # Table name: conversations
 #
-#  id         :bigint(8)        not null, primary key
-#  uri        :string
-#  created_at :datetime         not null
-#  updated_at :datetime         not null
+#  id            :bigint(8)        not null, primary key
+#  uri           :string
+#  created_at    :datetime         not null
+#  updated_at    :datetime         not null
+#  limit_replies :integer
 #
 
 class Conversation < ApplicationRecord
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?