summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index efb55fafb..63bc8cabe 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -1042,6 +1042,7 @@ class Issue < ActiveRecord::Base
notified = notified.select {|u| u.active? && u.notify_about?(self)}
notified += project.notified_users
+ notified += project.users.preload(:preference).select(&:notify_about_high_priority_issues?) if priority.high?
notified.uniq!
# Remove users that can not view the issue
notified.reject! {|user| !visible?(user)}