mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-26 15:40:14 +08:00
login result type: 239, fix #744
This commit is contained in:
parent
6540b71bbd
commit
27030d150e
@ -323,7 +323,7 @@ internal class WtLogin {
|
|||||||
return when (type.toInt()) {
|
return when (type.toInt()) {
|
||||||
0 -> onLoginSuccess(tlvMap, bot)
|
0 -> onLoginSuccess(tlvMap, bot)
|
||||||
2 -> onSolveLoginCaptcha(tlvMap, bot)
|
2 -> onSolveLoginCaptcha(tlvMap, bot)
|
||||||
160 /*-96*/ -> onUnsafeDeviceLogin(tlvMap)
|
160, 239 /*-96*/ -> onUnsafeDeviceLogin(tlvMap)
|
||||||
204 /*-52*/ -> onSMSVerifyNeeded(tlvMap, bot)
|
204 /*-52*/ -> onSMSVerifyNeeded(tlvMap, bot)
|
||||||
// 1, 15 -> onErrorMessage(tlvMap) ?: error("Cannot find error message")
|
// 1, 15 -> onErrorMessage(tlvMap) ?: error("Cannot find error message")
|
||||||
else -> {
|
else -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user