mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-26 05:19:44 +09:00
Backport #35243 by @lunny Fix #35229 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
@@ -445,6 +445,7 @@ func (m *webhookNotifier) DeleteComment(ctx context.Context, doer *user_model.Us
|
||||
log.Error("LoadPoster: %v", err)
|
||||
return
|
||||
}
|
||||
comment.Issue = nil // reload issue to ensure it has the latest data, especially the number of comments
|
||||
if err = comment.LoadIssue(ctx); err != nil {
|
||||
log.Error("LoadIssue: %v", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user