diff --git a/store/sqlstore/post_store.go b/store/sqlstore/post_store.go index 7fe22ee1fc..cb0faeb0de 100644 --- a/store/sqlstore/post_store.go +++ b/store/sqlstore/post_store.go @@ -3032,7 +3032,7 @@ func postProcessTopDMs(s *SqlPostStore, userID string, topDMs []*model.TopDM) ([ if err != nil { return nil, errors.Wrapf(err, "failed to get second participant information for user-id: %s", topDM.SecondParticipant) } - if users[0].IsBot { + if users[0].IsBot == true { continue } }