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:
parent
efe1b528ca
commit
fbb53eba9b
@ -763,6 +763,9 @@ func (c *QQClient) GetGroupMembers(group *GroupInfo) ([]*GroupMemberInfo, error)
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
if data == nil {
|
||||||
|
return nil, errors.New("rsp is nil")
|
||||||
|
}
|
||||||
rsp := data.(groupMemberListResponse)
|
rsp := data.(groupMemberListResponse)
|
||||||
nextUin = rsp.NextUin
|
nextUin = rsp.NextUin
|
||||||
for _, m := range rsp.list {
|
for _, m := range rsp.list {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user