mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix query qrcode (#315)
This commit is contained in:
parent
dfd10f4405
commit
5a89d8a9bf
@ -299,7 +299,7 @@ func decodeTransEmpResponse(c *QQClient, pkt *network.Packet) (any, error) {
|
|||||||
c.highwaySession.Uin = strconv.FormatInt(c.Uin, 10)
|
c.highwaySession.Uin = strconv.FormatInt(c.Uin, 10)
|
||||||
body.ReadInt32() // sig create time
|
body.ReadInt32() // sig create time
|
||||||
body.ReadUInt16()
|
body.ReadUInt16()
|
||||||
m, err := tlv.NewDecoder(2, 2).DecodeRecordMap(reader.ReadAvailable())
|
m, err := tlv.NewDecoder(2, 2).DecodeRecordMap(body.ReadAvailable())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user