From a404717143a16926b26c05c7b18f0f59f503915f Mon Sep 17 00:00:00 2001 From: "jiahua.liu" Date: Sat, 1 Feb 2020 21:34:10 +0800 Subject: [PATCH] Friend List Complete --- .../qqandroid/network/protocol/data/jce/RequestPacket.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/jce/RequestPacket.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/jce/RequestPacket.kt index d47be42f7..89d0f9825 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/jce/RequestPacket.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/data/jce/RequestPacket.kt @@ -25,8 +25,8 @@ internal class RequestPacket( } -private val requestPacketRequestId: AtomicInt = atomic(10000000) -internal fun nextRequestPacketRequestId(): Int = requestPacketRequestId.getAndAdd(1) +private val requestPacketRequestId: AtomicInt = atomic(1921334513) +internal fun nextRequestPacketRequestId(): Int = requestPacketRequestId.getAndAdd(2) @Serializable