-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[57251] Fix mail_alert_sent not being set correctly on update
https://community.openproject.org/wp/57251 When a notification exists for a work package journal for a reason other than :mentioned, then its `mail_alert_sent` value is `nil`. On a subsequent update of the work package which mentions the user, the existing notification is updated. In this update, the `mail_alert_sent` value must be changed from `nil` to `false` if the reason is :mentioned. Without it, the immediate notification email for the mention would not be sent.
- Loading branch information
1 parent
b0ad254
commit 1ad3b4e
Showing
2 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters