From 518b2ff788d067c92afe303370b1e1c4bb960a90 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 12 Dec 2019 11:37:09 -0600 Subject: include "do not interact" as a trigger for infering no replies mode --- app/models/status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models') 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 -- cgit