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

fix group file recall.

This commit is contained in:
Mrs4s 2020-11-14 13:36:47 +08:00
parent 20e56a7778
commit 7cbda8299e

View File

@ -708,6 +708,9 @@ func decodeOnlinePushReqPacket(c *QQClient, seq uint16, payload []byte) (interfa
_ = proto.Unmarshal(r.ReadAvailable(), &b)
if b.OptMsgRecall != nil {
for _, rm := range b.OptMsgRecall.RecalledMsgList {
if rm.MsgType == 2 {
continue
}
c.dispatchGroupMessageRecalledEvent(&GroupMessageRecalledEvent{
GroupCode: groupId,
OperatorUin: b.OptMsgRecall.Uin,