test-errcode
wangchuxiao 2 years ago
parent 4706d830a2
commit 4777bdeb7e

@ -636,7 +636,7 @@ func (s *groupServer) JoinGroup(ctx context.Context, req *pbGroup.JoinGroupReq)
if group.GroupType == constant.SuperGroup {
return nil, errs.ErrGroupTypeNotSupport.Wrap()
}
user, err := s.UserCheck.GetUserInfo(ctx, mcontext.GetOpUserID(ctx))
user, err := s.UserCheck.GetUserInfo(ctx, req.InviterUserID)
if err != nil {
return nil, err
}

Loading…
Cancel
Save