mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-31 07:07:01 +08:00
Fix packet processing order
This commit is contained in:
parent
780598d6fa
commit
19254df0e1
@ -67,7 +67,7 @@ internal object OnlinePushReqPush : IncomingPacketFactory<OnlinePushReqPush.ReqP
|
||||
mapper: ByteReadPacket.(msgInfo: MsgInfo) -> Sequence<Packet>
|
||||
): Sequence<Packet> {
|
||||
return asSequence().filter { msg ->
|
||||
!client.syncingController.onlinePushReqPushCacheList.addCache(
|
||||
client.syncingController.onlinePushReqPushCacheList.addCache(
|
||||
QQAndroidClient.MessageSvcSyncData.OnlinePushReqPushSyncId(
|
||||
uid = msg.lMsgUid ?: 0, sequence = msg.shMsgSeq, time = msg.uMsgTime
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user