Merge "Fix notifications for comments on draft patch sets"

This commit is contained in:
ekempin
2017-04-27 06:55:32 +00:00
committed by Gerrit Code Review
2 changed files with 17 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ public class CommentSender extends ReplyToChangeSender {
}
if (notify.compareTo(NotifyHandling.ALL) >= 0) {
bccStarredBy();
includeWatchers(NotifyType.ALL_COMMENTS);
includeWatchers(NotifyType.ALL_COMMENTS, !patchSet.isDraft());
}
removeUsersThatIgnoredTheChange();