1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-05-06 05:52:33 +08:00

QQA Debugging update

This commit is contained in:
Him188 2020-01-24 15:29:37 +08:00
parent ecc2f4674c
commit 7be3254716

View File

@ -217,7 +217,7 @@ internal object LoginPacket : PacketFactory<LoginPacket.LoginPacketResponse>("wt
@UseExperimental(MiraiDebugAPI::class)
fun ByteReadPacket.onSolveLoginCaptcha(bot: QQAndroidBot) = this.debugPrint("login验证码解析").run {
val tlvMap: Map<Int, ByteArray> = this.readTLVMap()
tlvMap[0x150]?.let { client.analysisTlv150(it) }
tlvMap[0x150]?.let { bot.client.analysisTlv150(it) }
}
@UseExperimental(MiraiDebugAPI::class)