Defect #33088

Should User.notify_about?(issue) consider the issue being wathced by the user?

Added by Takeshi SUGIYAMA over 1 year ago. Updated over 1 year ago.

Status:ResolvedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email notifications
Target version:-
Resolution: Affected version:4.1.0

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.

History

#1 Updated by Takeshi SUGIYAMA over 1 year ago

  • Status changed from New to Resolved

Close and re-submit a ticket with other information.

Also available in: Atom PDF