comment_list.go: do not include markdown in most responses
This commit is contained in:
parent
b816c09802
commit
ce19cb8842
@ -84,6 +84,10 @@ func commentList(commenterHex string, domain string, path string, includeUnappro
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if commenterHex != c.CommenterHex {
|
||||||
|
c.Markdown = ""
|
||||||
|
}
|
||||||
|
|
||||||
if !includeUnapproved {
|
if !includeUnapproved {
|
||||||
c.State = ""
|
c.State = ""
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user