Fix packet processing order

This commit is contained in:
Karlatemp 2020-10-03 21:10:03 +08:00
parent 780598d6fa
commit 19254df0e1
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -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
)