mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08: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:
		@@ -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
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user