diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-12-29 09:30:36 +0100 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-12-29 09:30:36 +0100 |
commit | ded63d21a84811c9e082c0fea0110a1b498265d6 (patch) | |
tree | 2d95b985ef8402ae899ced0307af4e8e3d47e431 /app/Notification | |
parent | 9ff0abd8d683ab5a285fcf70e27d1bcd1cbc47df (diff) |
Send notifications on user mentions
Diffstat (limited to 'app/Notification')
-rw-r--r-- | app/Notification/Mail.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Notification/Mail.php b/app/Notification/Mail.php index 98bffef2..d05dbdf2 100644 --- a/app/Notification/Mail.php +++ b/app/Notification/Mail.php @@ -121,6 +121,10 @@ class Mail extends Base implements NotificationInterface case Task::EVENT_ASSIGNEE_CHANGE: $subject = $this->getStandardMailSubject(e('Assignee change'), $event_data); break; + case Task::EVENT_USER_MENTION: + case Comment::EVENT_USER_MENTION: + $subject = $this->getStandardMailSubject(e('Mentioned'), $event_data); + break; case Task::EVENT_OVERDUE: $subject = e('[%s] Overdue tasks', $event_data['project_name']); break; |