Merge "Fix: Comment notification mail is not sent to project watchers"

This commit is contained in:
David Pursehouse
2013-01-10 03:05:27 -08:00
committed by Gerrit Code Review

View File

@@ -361,8 +361,8 @@ public abstract class ChangeEmail extends NotificationEmail {
for (AccountProjectWatch w : args.db.get().accountProjectWatches()
.byProject(change.getProject())) {
projectWatchers.add(w.getAccountId());
if (w.isNotify(type)) {
projectWatchers.add(w.getAccountId());
add(matching, w);
}
}