Project

General

Profile

Actions

Defect #33088

closed

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

Added by Takeshi SUGIYAMA over 4 years ago. Updated 9 months ago.

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 #1

Updated by Takeshi SUGIYAMA over 4 years ago

  • Status changed from New to Resolved

Close and re-submit a ticket with other information.

Actions #2

Updated by Marius BÄ‚LTEANU 9 months ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid
Actions

Also available in: Atom PDF