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

fix send json

草,原来是被CQ码转义给坑了
This commit is contained in:
wdvxdr 2020-10-25 10:44:09 +08:00
parent ad67391d5c
commit 7363dafffa

View File

@ -147,7 +147,7 @@ func (e *LightAppElement) Pack() (r []*msg.Elem) {
r = append(r, &msg.Elem{
LightApp: &msg.LightAppElem{
Data: append([]byte{1}, binary.ZlibCompress([]byte(e.Content))...),
MsgResid: []byte{1},
// MsgResid: []byte{1},
},
})
return