about summary refs log tree commit diff
path: root/app/models/status.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-15 21:57:26 +0100
committerGitHub <noreply@github.com>2022-03-15 21:57:26 +0100
commitac300173f68d2497cccf4e5bf558d95fc6105c96 (patch)
tree71debfede36bf8985cd5e3e37b6107560c358f57 /app/models/status.rb
parent80c4db160ecfd201cb82ed320cbe3eb32236ad20 (diff)
parentc79a03b319e17f5ab8c40d065842607de0d76108 (diff)
Merge pull request #1719 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/models/status.rb')
-rw-r--r--app/models/status.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index ba9d7f0aa..b979252b3 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -300,6 +300,10 @@ class Status < ApplicationRecord
     end
   end
 
+  def requires_review?
+    attributes['trendable'].nil? && account.requires_review?
+  end
+
   def requires_review_notification?
     attributes['trendable'].nil? && account.requires_review_notification?
   end