don't exclude reply to myself from HasReply detection https://github.com/umputun/remark/issues/248#issuecomment-454882841

This commit is contained in:
Umputun
2019-01-16 12:20:05 -06:00
parent dff266ec01
commit 79a8bfe453
+1 -1
View File
@@ -212,7 +212,7 @@ func (s *DataStore) HasReplies(comment store.Comment) bool {
}
for _, c := range comments {
if c.ParentID != "" && !c.Deleted && c.User.ID != comment.User.ID { // not interested in replies to yourself and top level
if c.ParentID != "" && !c.Deleted {
if c.ParentID == comment.ID {
return true
}