From 9946b404aea37210440737eecbec09a3f7d980ec Mon Sep 17 00:00:00 2001 From: wdvxdr Date: Sat, 25 Dec 2021 23:00:59 +0800 Subject: [PATCH] fix: heartbeat command name --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 04e343dd..404a9d39 100644 --- a/client/client.go +++ b/client/client.go @@ -799,7 +799,7 @@ func (c *QQClient) doHeartbeat() { EncryptType: network.EncryptTypeNoEncrypt, SequenceID: int32(seq), Uin: c.Uin, - CommandName: "wtlogin.login", + CommandName: "Heartbeat.Alive", Body: EmptyBytes, } packet := c.transport.PackPacket(&req)