From 113adb6fb122005fdc257c90346c0e99de664f0f Mon Sep 17 00:00:00 2001 From: wdvxdr Date: Thu, 22 Oct 2020 16:56:56 +0800 Subject: [PATCH] fix send gift --- client/builders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/builders.go b/client/builders.go index 8c67849a..8001ec3c 100644 --- a/client/builders.go +++ b/client/builders.go @@ -1267,7 +1267,7 @@ func (c *QQClient) sendGroupGiftPacket(groupCode, uin uint64, productId message. Version: "V 8.4.5.4745", Sig: &oidb.DADLoginSig{ Type: 1, - Sig: c.sigInfo.sKey, + Sig: []byte(c.getSKey()), }, } b, _ := proto.Marshal(body)