mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
a06e519ed7
When calling a service with `send_notifications: false`, the `Journal::NotificationConfiguration.active?` will be set to `false` and subsequent calls to set it to `true` will have no effect and log a warning. For this reason, it's better to use `nil` as default value for `send_notifications` so that `Journal::NotificationConfiguration.active?` is changed only when the value is explicitly `true` or `false`, and ignored when the value is `nil`.