mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 07:30:09 +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>
|
mapper: ByteReadPacket.(msgInfo: MsgInfo) -> Sequence<Packet>
|
||||||
): Sequence<Packet> {
|
): Sequence<Packet> {
|
||||||
return asSequence().filter { msg ->
|
return asSequence().filter { msg ->
|
||||||
!client.syncingController.onlinePushReqPushCacheList.addCache(
|
client.syncingController.onlinePushReqPushCacheList.addCache(
|
||||||
QQAndroidClient.MessageSvcSyncData.OnlinePushReqPushSyncId(
|
QQAndroidClient.MessageSvcSyncData.OnlinePushReqPushSyncId(
|
||||||
uid = msg.lMsgUid ?: 0, sequence = msg.shMsgSeq, time = msg.uMsgTime
|
uid = msg.lMsgUid ?: 0, sequence = msg.shMsgSeq, time = msg.uMsgTime
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user