1
mirror of https://gitlab.com/commento/commento.git synced 2026-06-17 09:55:27 -04:00

comment_list.go: do not include markdown in most responses

This commit is contained in:
Adhityaa Chandrasekar
2019-05-15 10:45:01 -07:00
parent b816c09802
commit ce19cb8842
+4
View File
@@ -84,6 +84,10 @@ func commentList(commenterHex string, domain string, path string, includeUnappro
}
}
if commenterHex != c.CommenterHex {
c.Markdown = ""
}
if !includeUnapproved {
c.State = ""
}