1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-05 03:23:50 +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) _ = proto.Unmarshal(r.ReadAvailable(), &b)
if b.OptMsgRecall != nil { if b.OptMsgRecall != nil {
for _, rm := range b.OptMsgRecall.RecalledMsgList { for _, rm := range b.OptMsgRecall.RecalledMsgList {
if rm.MsgType == 2 {
continue
}
c.dispatchGroupMessageRecalledEvent(&GroupMessageRecalledEvent{ c.dispatchGroupMessageRecalledEvent(&GroupMessageRecalledEvent{
GroupCode: groupId, GroupCode: groupId,
OperatorUin: b.OptMsgRecall.Uin, OperatorUin: b.OptMsgRecall.Uin,