1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

fix: heartbeat command name

This commit is contained in:
wdvxdr 2021-12-25 23:00:59 +08:00
parent 8ba8d118ae
commit 9946b404ae
No known key found for this signature in database
GPG Key ID: 703F8C071DE7A1B6

View File

@ -799,7 +799,7 @@ func (c *QQClient) doHeartbeat() {
EncryptType: network.EncryptTypeNoEncrypt, EncryptType: network.EncryptTypeNoEncrypt,
SequenceID: int32(seq), SequenceID: int32(seq),
Uin: c.Uin, Uin: c.Uin,
CommandName: "wtlogin.login", CommandName: "Heartbeat.Alive",
Body: EmptyBytes, Body: EmptyBytes,
} }
packet := c.transport.PackPacket(&req) packet := c.transport.PackPacket(&req)