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 2020-07-10 22:52:18 +08:00
parent 4dc16b45ba
commit cff6d723a9

View File

@ -420,7 +420,7 @@ func (c *QQClient) buildGroupImageStorePacket(groupCode int64, md5 [16]byte, siz
func (c *QQClient) buildImageUploadPacket(data, updKey []byte, commandId int32, fmd5 [16]byte) (r [][]byte) { func (c *QQClient) buildImageUploadPacket(data, updKey []byte, commandId int32, fmd5 [16]byte) (r [][]byte) {
offset := 0 offset := 0
binary.ToChunkedBytesF(data, 8192*8, func(chunked []byte) { binary.ToChunkedBytesF(data, 8192*1024, func(chunked []byte) {
w := binary.NewWriter() w := binary.NewWriter()
cmd5 := md5.Sum(chunked) cmd5 := md5.Sum(chunked)
head, _ := proto.Marshal(&pb.ReqDataHighwayHead{ head, _ := proto.Marshal(&pb.ReqDataHighwayHead{