mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 04:50:26 +08:00
typo
This commit is contained in:
parent
5db71cd299
commit
2b12ae0ded
mirai-core-api/src/commonMain/kotlin/utils
mirai-core/src/commonMain/kotlin/network
@ -47,7 +47,7 @@ public abstract class LoginSolver {
|
||||
|
||||
// TODO: 2020-12-24 滑动验证码支持
|
||||
@MiraiInternalApi
|
||||
public open val isSliderCaptchaSupport: Boolean get() = false
|
||||
public open val isSliderCaptchaSupported: Boolean get() = false
|
||||
|
||||
/**
|
||||
* 处理滑动验证码.
|
||||
|
@ -162,7 +162,7 @@ internal class QQAndroidBotNetworkHandler(coroutineContext: CoroutineContext, bo
|
||||
return this
|
||||
}
|
||||
|
||||
val isSliderCaptchaSupport = bot.configuration.loginSolver?.isSliderCaptchaSupport ?: false
|
||||
val isSliderCaptchaSupport = bot.configuration.loginSolver?.isSliderCaptchaSupported ?: false
|
||||
val allowSlider = isSliderCaptchaSupport
|
||||
|| bot.configuration.protocol == BotConfiguration.MiraiProtocol.ANDROID_PHONE
|
||||
|| step == 0
|
||||
|
Loading…
Reference in New Issue
Block a user