1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00
This commit is contained in:
Mrs4s 2023-03-11 01:08:00 +08:00
parent 365235008b
commit 80b6b28436
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -117,7 +117,7 @@ func (c *QQClient) buildLoginPacket() (uint16, []byte) {
} }
} }
if c.Device().QImei36 != "" { if c.Device().QImei36 != "" {
t.Append(tlv.T545([]byte(c.Device().QImei36))) t.Append(tlv.T545([]byte(c.Device().QImei16)))
} else { } else {
t.Append(tlv.T545([]byte(c.Device().IMEI))) t.Append(tlv.T545([]byte(c.Device().IMEI)))
} }
@ -464,7 +464,7 @@ func (c *QQClient) buildRequestTgtgtNopicsigPacket() (uint16, []byte) {
}, },
} }
if c.Device().QImei36 != "" { if c.Device().QImei36 != "" {
t.Append(tlv.T545([]byte(c.Device().QImei36))) t.Append(tlv.T545([]byte(c.Device().QImei16)))
} else { } else {
t.Append(tlv.T545([]byte(c.Device().IMEI))) t.Append(tlv.T545([]byte(c.Device().IMEI)))
} }