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

fix highway encrypt.

This commit is contained in:
Mrs4s 2021-01-24 14:35:08 +08:00
parent cb678205d5
commit a401ed3ef1

View File

@ -206,7 +206,7 @@ func (c *QQClient) highwayUploadFileMultiThreadingByBDH(path string, cmdId int32
}
defer file.Close()
if stat.Size() < 1024*1024*3 {
return c.highwayUploadByBDH(file, cmdId, ticket, ext, encrypt)
return c.highwayUploadByBDH(file, cmdId, ticket, ext, false)
}
type BlockMetaData struct {
Id int