mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix t545
This commit is contained in:
parent
365235008b
commit
80b6b28436
@ -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)))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user