mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-13 06:30:13 +08:00
push to work
This commit is contained in:
parent
37118c33b0
commit
c71ba67a2c
@ -216,8 +216,10 @@ internal object LoginPacket : PacketFactory<LoginPacket.LoginPacketResponse>("wt
|
||||
|
||||
@UseExperimental(MiraiDebugAPI::class)
|
||||
fun ByteReadPacket.onSolveLoginCaptcha(bot: QQAndroidBot) = this.debugPrint("login验证码解析").run {
|
||||
val client = bot.client
|
||||
val tlvMap: Map<Int, ByteArray> = this.readTLVMap()
|
||||
tlvMap[0x150]?.let { client.analysisTlv150(it) }
|
||||
tlvMap[0x104]?.let { client.analysisTlv150(it) }
|
||||
tlvMap[0x192]?.let { client.analysisTlv150(it) }
|
||||
}
|
||||
|
||||
@UseExperimental(MiraiDebugAPI::class)
|
||||
|
Loading…
Reference in New Issue
Block a user