fix bug :pushMsg.MsgData.OfflinePushInfo==nil

This commit is contained in:
skiffer-git
2022-09-01 21:58:22 +08:00
parent ac2cc154b4
commit e990118475
3 changed files with 20 additions and 2 deletions
+1
View File
@@ -142,6 +142,7 @@ func (s *groupServer) CreateGroup(ctx context.Context, req *pbGroup.CreateGroupR
return &pbGroup.CreateGroupResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg}, http.WrapError(constant.ErrDB)
}
}
if req.GroupInfo.GroupType != constant.SuperGroup {
//to group member
for _, user := range req.InitMemberList {