1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

Merge pull request #60 from wdvxdr1123/master

fix json message
This commit is contained in:
Mrs4s 2020-10-27 18:26:21 +08:00 committed by GitHub
commit 5fa25a7f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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