Commit 70575789 authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update resp

parent 7bed51d2
package service
import (
"strings"
"time"
log "github.com/sirupsen/logrus"
......@@ -10,6 +11,9 @@ func (s *Service) IsJoined(userId, chatId int) (joined, premium bool, err error)
joined, premium, err = s.msger.ExistGroupChat(int64(userId), int64(chatId))
if err != nil {
log.WithError(err).Error("exist group chat error")
if strings.Contains(err.Error(), "PARTICIPANT_ID_INVALID") {
return false, false, nil
}
}
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment