1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00
This commit is contained in:
scjtqs 2020-08-31 00:29:25 +08:00
parent 9c48d0907b
commit 8965f680f4

View File

@ -348,9 +348,9 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
continue continue
} }
if e.SubType == "json" { if e.SubType == "json" {
r = append(r,&msg.Elem{ r = append(r, &msg.Elem{
LightApp:&msg.LightAppElem{ LightApp: &msg.LightAppElem{
Data:append([]byte{1}, binary.ZlibCompress([]byte(e.Content))...), Data: append([]byte{1}, binary.ZlibCompress([]byte(e.Content))...),
MsgResid: []byte{1}, MsgResid: []byte{1},
}, },
}) })