This commit is contained in:
wangchuxiao
2023-05-11 21:32:12 +08:00
parent dd99f52355
commit 8aff2e86a8
4 changed files with 34 additions and 11 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func (g *GroupLocalCache) GetGroupMemberIDs(ctx context.Context, groupID string)
if err != nil {
return nil, err
}
if len(resp.GroupAbstractInfos) < 0 {
if len(resp.GroupAbstractInfos) < 1 {
return nil, errs.ErrGroupIDNotFound
}
localHashInfo, ok := g.cache[groupID]