mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Fix review comment/dimiss comment x reference can be refereced back (#35094)
Fix #15977
This commit is contained in:
		| @@ -235,7 +235,7 @@ func (issue *Issue) verifyReferencedIssue(stdCtx context.Context, ctx *crossRefe | ||||
|  | ||||
| // AddCrossReferences add cross references | ||||
| func (c *Comment) AddCrossReferences(stdCtx context.Context, doer *user_model.User, removeOld bool) error { | ||||
| 	if c.Type != CommentTypeCode && c.Type != CommentTypeComment { | ||||
| 	if !c.Type.HasContentSupport() { | ||||
| 		return nil | ||||
| 	} | ||||
| 	if err := c.LoadIssue(stdCtx); err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user