Skip to content

Commit 17d8a24

Browse files
committed
Add some comments
1 parent 6d02f58 commit 17d8a24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

models/issues/comment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ func (t CommentType) CountedAsConversation() bool {
206206
return false
207207
}
208208

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
209211
func ConversationCountedCommentType() []any {
210212
return []any{CommentTypeComment, CommentTypeReview}
211213
}

0 commit comments

Comments
 (0)