about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-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 29e8c7374..ce642f9bf 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -511,6 +511,10 @@ class Status < ApplicationRecord
     '👁'
   end
 
+  def marked_no_replies?
+    /(:ms_dont_at_me:|(don't|do not|no) ((at|@|mention) me)|reply|replies)/.match?(spoiler_text)
+  end
+
   private
 
   def update_status_stat!(attrs)