1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-02 01:17:43 +03:00

Update models/issues/comment.go

This commit is contained in:
wxiaoguang 2024-12-30 17:06:36 +08:00 committed by GitHub
parent 2ea18d67d0
commit a04cca56cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -207,7 +207,6 @@ func (t CommentType) CountedAsConversation() bool {
}
// ConversationCountedCommentType returns the comment types that are counted as a conversation
// The returned types are []any rather than []CommentType to allow for easy use as xorm args
func ConversationCountedCommentType() []CommentType {
return []CommentType{CommentTypeComment, CommentTypeReview}
}