mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-12 04:58:21 +03:00
Add some comments
This commit is contained in:
parent
6d02f5890f
commit
17d8a24801
@ -206,6 +206,8 @@ func (t CommentType) CountedAsConversation() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// 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() []any {
|
||||
return []any{CommentTypeComment, CommentTypeReview}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user