#557 I don't want to be notified of changes that I make myself
This commit is contained in:
parent
39a2081cac
commit
f6d696cf0e
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user