mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-03 18:47:41 +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
|
||||
}
|
||||
if e.SubType == "json" {
|
||||
r = append(r,&msg.Elem{
|
||||
LightApp:&msg.LightAppElem{
|
||||
Data:append([]byte{1}, binary.ZlibCompress([]byte(e.Content))...),
|
||||
r = append(r, &msg.Elem{
|
||||
LightApp: &msg.LightAppElem{
|
||||
Data: append([]byte{1}, binary.ZlibCompress([]byte(e.Content))...),
|
||||
MsgResid: []byte{1},
|
||||
},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user