diff options
author | 赵智超 <1012112796@qq.com> | 2020-09-10 03:08:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 15:08:55 -0400 |
commit | ffa12bdb71d1e708ff782fb681895aea9b83766b (patch) | |
tree | 52631f50e83c2e0b5db67d3bb5df3be437bb7f31 /services/mailer/mail_issue.go | |
parent | 0cd49aaebd0434cffaf16e557620441a50bb757d (diff) | |
download | gitea-ffa12bdb71d1e708ff782fb681895aea9b83766b.tar.gz gitea-ffa12bdb71d1e708ff782fb681895aea9b83766b.zip |
Fix "only mail on mention" bug (#12775)
* fix mail mention bug
fix #12774
Signed-off-by: a1012112796 <1012112796@qq.com>
* fix test
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'services/mailer/mail_issue.go')
-rw-r--r-- | services/mailer/mail_issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/mailer/mail_issue.go b/services/mailer/mail_issue.go index 1030a9548e..01c198984b 100644 --- a/services/mailer/mail_issue.go +++ b/services/mailer/mail_issue.go @@ -118,7 +118,7 @@ func mailIssueCommentBatch(ctx *mailCommentContext, ids []int64, visited map[int visited[id] = true } } - recipients, err := models.GetMaileableUsersByIDs(unique) + recipients, err := models.GetMaileableUsersByIDs(unique, fromMention) if err != nil { return err } |