about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-12 11:37:09 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-12 11:37:09 -0600
commit518b2ff788d067c92afe303370b1e1c4bb960a90 (patch)
tree9fcdb683fee4f27ee47aacb951d5a35aa6527796 /app
parent5464e5a0b71c2b66b1e4707eaa854d9801558525 (diff)
include "do not interact" as a trigger for infering no replies mode
Diffstat (limited to 'app')
-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 a38e4d436..b0a2f02ca 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -43,7 +43,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)(?: (?:me|us))?)\b/i
+  REJECT_REPLIES_TOKENS = /^(?:please )?(?:ms_dont_at_me|no (?:replie|mention)s|(?:dont|do not) (?:@|at|reply|mention|interact)(?: (?:me|us))?)\b/i
   SIMPLIFIED = /[^\w\s@_\"\'\-]+/
 
   # If `override_timestamps` is set at creation time, Snowflake ID creation