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

service msg update.

This commit is contained in:
Mrs4s 2020-08-23 03:07:48 +08:00
parent 3e33a9465e
commit ce670caee0

View File

@ -330,6 +330,12 @@ func ToProtoElems(elems []IMessageElement, generalFlags bool) (r []*msg.Elem) {
}, },
}) })
} }
r = append(r, &msg.Elem{
RichMsg: &msg.RichMsg{
Template1: append([]byte{1}, binary.ZlibCompress([]byte(e.Content))...),
ServiceId: e.Id,
},
})
} }
} }
if generalFlags { if generalFlags {