mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FIX: Email notification for different user being mentioned
This commit is contained in:
parent
030ecfaa71
commit
7d43058d20
2 changed files with 6 additions and 1 deletions
|
@ -65,7 +65,7 @@ module PrettyText
|
|||
@mutex = Mutex.new
|
||||
|
||||
def self.mention_matcher
|
||||
/(\@[a-zA-Z0-9\-]+)/
|
||||
Regexp.new("(\@[a-zA-Z0-9_]{#{User.username_length.begin},#{User.username_length.end}})")
|
||||
end
|
||||
|
||||
def self.app_root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue