mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix group file recall.
This commit is contained in:
parent
20e56a7778
commit
7cbda8299e
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user