Actions
Defect #33088
closedShould User.notify_about?(issue) consider the issue being wathced by the user?
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
In app/models/user.rb line 790, notify_about?(object) is defined.
In app/models/issue.rb line 1037 notified_users method's comment explains
# Author and assignee are always notified unless they have been # locked or don't want to be notified
My question is, should User.notify_about?(issue) checke the passed issue being wathced by the user or not?
If it should, I would like to know whether notify_about?(object) can take into account the issue being watched or not according to the user's notification prefernces?
Kind attention will be appreciated.
Actions