mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix friend list.
This commit is contained in:
parent
507fe33e84
commit
93de1f4456
@ -228,6 +228,7 @@ func (c *QQClient) GetFriendList() (*FriendListResponse, error) {
|
||||
list := rsp.(FriendListResponse)
|
||||
r.TotalCount = list.TotalCount
|
||||
r.List = append(r.List, list.List...)
|
||||
curFriendCount += len(list.List)
|
||||
if int32(len(r.List)) >= r.TotalCount {
|
||||
break
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user