diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-03 15:05:12 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-03 15:05:12 -0500 |
commit | e1bdc82d078db81b04af8da067aa8e9058e096a6 (patch) | |
tree | df951a710dca06f265f535b6df74bae4768c731c | |
parent | 1785c93da7a0374b7109551e59c0cb29d149e8fc (diff) |
match more `reject_replies` tokens
-rw-r--r-- | app/models/status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb index 42de5d4c0..f2b40c516 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -47,7 +47,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 = /\b(?:\:ms_dont_at_me\:|no replies|(?:don't|do not) (?:@|at|reply)(?: (?:me|us))?)\b/i + REJECT_REPLIES_TOKENS = /\b(?:ms_dont_at_me|no (?:replie|mention)s|(?:don't|do not) (?:@|at|reply|mention)(?: (?:me|us))?)\b/i # If `override_timestamps` is set at creation time, Snowflake ID creation # will be based on current time instead of `created_at` |