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_release.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_release.go')
-rw-r--r-- | services/mailer/mail_release.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/mailer/mail_release.go b/services/mailer/mail_release.go index 55182f55cf..f278c853ae 100644 --- a/services/mailer/mail_release.go +++ b/services/mailer/mail_release.go @@ -27,7 +27,7 @@ func MailNewRelease(rel *models.Release) { return } - recipients, err := models.GetMaileableUsersByIDs(watcherIDList) + recipients, err := models.GetMaileableUsersByIDs(watcherIDList, false) if err != nil { log.Error("models.GetMaileableUsersByIDs: %v", err) return |