mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-05 03:23:50 +08:00
fix send json
草,原来是被CQ码转义给坑了
This commit is contained in:
parent
ad67391d5c
commit
7363dafffa
@ -147,7 +147,7 @@ func (e *LightAppElement) Pack() (r []*msg.Elem) {
|
|||||||
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},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user