mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	* Initial pass * Remove over-op Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
		@@ -122,7 +122,17 @@ func mailIssueCommentBatch(ctx *mailCommentContext, ids []int64, visited map[int
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			return err
 | 
			
		||||
		}
 | 
			
		||||
		// TODO: Check issue visibility for each user
 | 
			
		||||
 | 
			
		||||
		// Make sure all recipients can still see the issue
 | 
			
		||||
		idx := 0
 | 
			
		||||
		for _, r := range recipients {
 | 
			
		||||
			if ctx.Issue.Repo.CheckUnitUser(r, models.UnitTypeIssues) {
 | 
			
		||||
				recipients[idx] = r
 | 
			
		||||
				idx++
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		recipients = recipients[:idx]
 | 
			
		||||
 | 
			
		||||
		// TODO: Separate recipients by language for i18n mail templates
 | 
			
		||||
		tos := make([]string, len(recipients))
 | 
			
		||||
		for i := range recipients {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user