1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

使逻辑更加科学(x)

This commit is contained in:
赵怡然 2023-03-12 13:16:30 +08:00 committed by GitHub
parent 80b6b28436
commit 7d2150c2d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,7 @@ func (c *QQClient) buildLoginPacket() (uint16, []byte) {
t.Append(t544)
}
}
if c.Device().QImei36 != "" {
if c.Device().QImei16 != "" {
t.Append(tlv.T545([]byte(c.Device().QImei16)))
} else {
t.Append(tlv.T545([]byte(c.Device().IMEI)))
@ -463,7 +463,7 @@ func (c *QQClient) buildRequestTgtgtNopicsigPacket() (uint16, []byte) {
tlv.T525(tlv.T536([]byte{0x01, 0x00})),
},
}
if c.Device().QImei36 != "" {
if c.Device().QImei16 != "" {
t.Append(tlv.T545([]byte(c.Device().QImei16)))
} else {
t.Append(tlv.T545([]byte(c.Device().IMEI)))