about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-04-09 21:44:49 -0500
committermultiple creatures <dev@multiple-creature.party>2020-04-09 21:44:49 -0500
commitf2780e905173140fafa4e1ecbd7d91f6cf567207 (patch)
tree9e7b4d235752ed43bbbf55010a8ecd6f79f73b86
parent1a7570882a4cd465f30404a9e47c45f8c1618274 (diff)
also infer author-rejects-replies mode from old version of `dont_at_me` emoji monsterfork-1.0
-rw-r--r--app/models/status.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index 2c0378d7f..b35c1ce42 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -45,7 +45,7 @@ class Status < ApplicationRecord
 
   # match both with and without U+FE0F (the emoji variation selector)
   LOCAL_ONLY_TOKENS = /(?:#!|\u{1f441}\ufe0f?)\u200b?\z/
-  REJECT_REPLIES_TOKENS = /^(?:please )?(?:ms_dont_at_me|no (?:replie|mention)s|(?:dont|do not) (?:@|at|reply|mention|interact)(?: (?:me|us))?)\b/i
+  REJECT_REPLIES_TOKENS = /^(?:please )?(?:ms_dont_at_me|dont_at_me|no (?:replie|mention)s|(?:dont|do not) (?:@|at|reply|mention|interact)(?: (?:me|us))?)\b/i
   SIMPLIFIED = /[^\w\s@_\"\'\-]+/
   self.discard_column = :deleted_at