mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 05:11:41 +01:00 
			
		
		
		
	Also ensure the repo is loaded (#5895)
Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		
							parent
							
								
									002e898bcf
								
							
						
					
					
						commit
						2569363204
					
				| @ -88,6 +88,10 @@ func mailIssueCommentToParticipants(e Engine, issue *Issue, doer *User, content | ||||
| 		names = append(names, participants[i].Name) | ||||
| 	} | ||||
| 
 | ||||
| 	if err := issue.loadRepo(e); err != nil { | ||||
| 		return err | ||||
| 	} | ||||
| 
 | ||||
| 	for _, to := range tos { | ||||
| 		SendIssueCommentMail(issue, doer, content, comment, []string{to}) | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user