diff --git a/app/models/account.rb b/app/models/account.rb index 17882db9a3..5d6e8864d5 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -65,8 +65,8 @@ class Account < ApplicationRecord BACKGROUND_REFRESH_INTERVAL = 1.week.freeze - USERNAME_RE = /[a-z0-9_]+([a-z0-9_.-]+[a-z0-9_]+)?/i - MENTION_RE = %r{(?