diff --git a/modules/notification/ui/ui.go b/modules/notification/ui/ui.go index fd44cd15fd..8461707120 100644 --- a/modules/notification/ui/ui.go +++ b/modules/notification/ui/ui.go @@ -204,7 +204,7 @@ func (ns *notificationService) NotifyPullRevieweDismiss(doer *user_model.User, r } func (ns *notificationService) NotifyIssueChangeAssignee(doer *user_model.User, issue *models.Issue, assignee *user_model.User, removed bool, comment *models.Comment) { - if !removed { + if !removed && doer.ID != assignee.ID { var opts = issueNotificationOpts{ IssueID: issue.ID, NotificationAuthorID: doer.ID,