Skip to content

Commit dae6e2f

Browse files
committed
upd
1 parent 0c9501b commit dae6e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/groupservice.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func QryGroupInfo(ctx context.Context, groupId string) (errs.IMErrorCode, *apimo
2626
requestId := ctxs.GetRequesterIdFromCtx(ctx)
2727
grpStorage := storages.NewGroupStorage()
2828
grpInfo, err := grpStorage.FindById(appkey, groupId)
29-
if err != nil {
29+
if err != nil || grpInfo == nil {
3030
return errs.IMErrorCode_APP_DEFAULT, nil
3131
}
3232
grpMemberStorage := storages.NewGroupMemberStorage()

0 commit comments

Comments
 (0)