mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user