From 0869ffb46a9f668dddcb9c3571c9f70c01bd6e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Thu, 14 Jun 2018 09:49:56 +0200 Subject: [PATCH] Workflow notification missing #855 --- app/models/dmsf_mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/dmsf_mailer.rb b/app/models/dmsf_mailer.rb index 8f9b93ae..f3ce186a 100644 --- a/app/models/dmsf_mailer.rb +++ b/app/models/dmsf_mailer.rb @@ -106,7 +106,7 @@ class DmsfMailer < Mailer when 'only_my_events' author = false files.each do |file| - if file.involved?(notify_user) || file.assignee?(notify_user) + if file.involved?(notify_user) || file.assigned?(notify_user) author = true break end