From 0780756bd4f25de9aacd339e8307ec7c856522a6 Mon Sep 17 00:00:00 2001 From: Karlatemp <karlatemp@vip.qq.com> Date: Tue, 9 Feb 2021 14:44:34 +0800 Subject: [PATCH] Typo --- .../kotlin/network/handler/QQAndroidBotNetworkHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/network/handler/QQAndroidBotNetworkHandler.kt b/mirai-core/src/commonMain/kotlin/network/handler/QQAndroidBotNetworkHandler.kt index 8ea042003..aaee046d1 100644 --- a/mirai-core/src/commonMain/kotlin/network/handler/QQAndroidBotNetworkHandler.kt +++ b/mirai-core/src/commonMain/kotlin/network/handler/QQAndroidBotNetworkHandler.kt @@ -361,7 +361,7 @@ internal class QQAndroidBotNetworkHandler(coroutineContext: CoroutineContext, bo null -> { val hasSession = bot.bdhSyncer.hasSession kotlin.runCatching { bot.bdhSyncer.bdhSession.completeExceptionally(CancellationException("Timeout waiting for ConfigPushSvc.PushReq")) } - if (hasSession) { + if (!hasSession) { logger.warning { "Missing ConfigPushSvc.PushReq. File uploading may be affected." } } else { logger.warning { "Missing ConfigPushSvc.PushReq. Using latest response. File uploading may be affected." }