From 93de1f445681dac9bedd1b5bfc42970ecedc653d Mon Sep 17 00:00:00 2001 From: Mrs4s <1844812067@qq.com> Date: Mon, 24 Aug 2020 02:42:03 +0800 Subject: [PATCH] fix friend list. --- client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.go b/client/client.go index 4ce88c1c..62d2d0c8 100644 --- a/client/client.go +++ b/client/client.go @@ -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 }