diff --git a/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb b/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb index b4ac776..e026a6d 100644 --- a/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb +++ b/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb @@ -57,7 +57,8 @@ module Redmine # Returns an array of watchers' email addresses def watcher_recipients - notified = watchers.collect(&:user).select(&:active?) + notified = watcher_users.active + if respond_to?(:visible?) notified.reject! {|user| !visible?(user)} end