From 3fb25a07aeed5774ad2ea3ac286e406d7a7a1ace Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 1 Dec 2020 13:02:45 +0800 Subject: [PATCH] Update versions --- buildSrc/src/main/kotlin/Versions.kt | 2 +- .../src/commonMain/kotlin/network/QQAndroidBotNetworkHandler.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt index 932c90f1e..f3ae3cc11 100644 --- a/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/src/main/kotlin/Versions.kt @@ -36,7 +36,7 @@ object Versions { const val coroutinesIo = "0.1.16" const val dokka = "0.10.1" - const val blockingBridge = "1.4.1" + const val blockingBridge = "1.5.0" const val androidGradlePlugin = "3.5.3" diff --git a/mirai-core/src/commonMain/kotlin/network/QQAndroidBotNetworkHandler.kt b/mirai-core/src/commonMain/kotlin/network/QQAndroidBotNetworkHandler.kt index 831bd5fa4..e2fee87c1 100644 --- a/mirai-core/src/commonMain/kotlin/network/QQAndroidBotNetworkHandler.kt +++ b/mirai-core/src/commonMain/kotlin/network/QQAndroidBotNetworkHandler.kt @@ -363,7 +363,7 @@ internal class QQAndroidBotNetworkHandler(coroutineContext: CoroutineContext, bo it as KnownPacketFactories.IncomingPacket, bot, it.flag2, - it.consumer + it.consumer.cast() // IDE false positive warning ) }.getOrElse { logger.error("Exception on processing pendingIncomingPackets", it)