プロジェクト

全般

プロフィール

Vote #80724

未完了

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

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
Resolved
優先度:
通常
担当者:
-
カテゴリ:
Email notifications_9
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
9
version_id:
0
issue_org_id:
33088
author_id:
447098
assigned_to_id:
0
comments:
1
status_id:
3
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
127
ステータス-->[Resolved]

説明

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.


journals

Close and re-submit a ticket with other information.
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリEmail notifications_9 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0