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:
parent
3e33a9465e
commit
ce670caee0
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user