Fix boolean check of user.IsBot

Этот коммит содержится в:
Shivashis Padhi
2022-07-25 16:09:44 +05:30
родитель 365def37cb
Коммит b3330b1eb0

Просмотреть файл

@@ -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
}
}