mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fmt
This commit is contained in:
parent
9c48d0907b
commit
8965f680f4
@ -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},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user