From 21ba7590f519a657e7d2795b3364cb71395cd23d Mon Sep 17 00:00:00 2001 From: eatMoreApple <15055461510@163.com> Date: Sat, 24 Apr 2021 15:57:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0=E5=A5=BD?= =?UTF-8?q?=E5=8F=8B=E6=97=B6,update=E5=8F=82=E6=95=B0=E6=97=A0=E6=95=88?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.go b/user.go index 9f257ee..84d659c 100644 --- a/user.go +++ b/user.go @@ -177,7 +177,7 @@ func (s *Self) FileHelper() (*Friend, error) { // 获取所有的好友 func (s *Self) Friends(update ...bool) (Friends, error) { if s.friends == nil { - if err := s.updateFriends(true); err != nil { + if err := s.updateFriends(update...); err != nil { return nil, err } }