From 79a8bfe45373e64409ed5fc4d86f3d18a8ecf8b7 Mon Sep 17 00:00:00 2001 From: Umputun Date: Wed, 16 Jan 2019 12:20:05 -0600 Subject: [PATCH] don't exclude reply to myself from HasReply detection https://github.com/umputun/remark/issues/248#issuecomment-454882841 --- backend/app/store/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/store/service/service.go b/backend/app/store/service/service.go index f2e17e4f..0a788afe 100644 --- a/backend/app/store/service/service.go +++ b/backend/app/store/service/service.go @@ -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 }