#557 I don't want to be notified of changes that I make myself

This commit is contained in:
Karel.Picman 2022-02-09 12:35:55 +01:00
parent 39a2081cac
commit f6d696cf0e

View File

@ -174,6 +174,9 @@ class DmsfMailer < Mailer
watchers = []
file.get_all_watchers(watchers)
users.concat watchers
if User.current&.pref.no_self_notified
users.delete User.current
end
users.uniq
end