diff --git a/api/comment_list.go b/api/comment_list.go index 1f1ed3f..484fcad 100644 --- a/api/comment_list.go +++ b/api/comment_list.go @@ -71,6 +71,10 @@ func commentList(commenterHex string, domain string, path string, includeUnappro } } + if !includeUnapproved { + c.State = "" + } + comments = append(comments, c) if _, ok := commenters[c.CommenterHex]; !ok {