We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d02f58 commit 17d8a24Copy full SHA for 17d8a24
models/issues/comment.go
@@ -206,6 +206,8 @@ func (t CommentType) CountedAsConversation() bool {
206
return false
207
}
208
209
+// ConversationCountedCommentType returns the comment types that are counted as a conversation
210
+// The returned types are []any rather than []CommentType to allow for easy use as xorm args
211
func ConversationCountedCommentType() []any {
212
return []any{CommentTypeComment, CommentTypeReview}
213
0 commit comments