1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

fix GetGroupMembers panic.

This commit is contained in:
Mrs4s 2020-09-29 18:12:32 +08:00
parent efe1b528ca
commit fbb53eba9b

View File

@ -763,6 +763,9 @@ func (c *QQClient) GetGroupMembers(group *GroupInfo) ([]*GroupMemberInfo, error)
if err != nil {
return nil, err
}
if data == nil {
return nil, errors.New("rsp is nil")
}
rsp := data.(groupMemberListResponse)
nextUin = rsp.NextUin
for _, m := range rsp.list {