diff --git a/app/models/dmsf_mailer.rb b/app/models/dmsf_mailer.rb index d9d030cb..044c3f80 100644 --- a/app/models/dmsf_mailer.rb +++ b/app/models/dmsf_mailer.rb @@ -167,6 +167,7 @@ class DmsfMailer < Mailer # force_notification = true => approval workflow's notifications def self.get_notify_users(project, file, force_notification: false) return [] unless project.active? + # Notifications if (force_notification && Setting.notified_events.include?('dmsf_workflow_plural')) || (Setting.notified_events.include?('dmsf_legacy_notifications') && file&.notify?)