From 6b599d654b74be44d1b2561ab1bd7a7052acdfdf Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 7 Jan 2020 15:04:24 +0800 Subject: [PATCH] Fix reference --- .../mamoe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt index db7bf9e40..3c625ff98 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt @@ -30,7 +30,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler override suspend fun login() { launch(CoroutineName("Incoming Packet Receiver")) { processReceive() } - LoginPacket(bot.client).sendAndExpect() + LoginPacket.SubCommand9(bot.client).sendAndExpect() println("Login sent") }