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

try to fix image issue.

This commit is contained in:
Mrs4s 2020-09-28 16:55:15 +08:00
parent 65c1709f5e
commit efe1b528ca

View File

@ -302,14 +302,14 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
case *GroupImageElement:
r = append(r, &msg.Elem{
CustomFace: &msg.CustomFace{
FileType: 66,
//FileType: 66,
Useful: 1,
Origin: 1,
FileId: int32(e.FileId),
FilePath: e.ImageId,
//Size: e.Size,
Md5: e.Md5[:],
Flag: make([]byte, 4),
Size: e.Size,
Md5: e.Md5[:],
Flag: make([]byte, 4),
//OldData: imgOld,
},
})