mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-29 10:00:13 +08:00
[core] SsoProcessor.loginSuccess: use sendRegister to allow being overriden for tests
This commit is contained in:
parent
c6a8f4bde5
commit
b18e62b3b6
@ -171,7 +171,7 @@ internal class SsoProcessorImpl(
|
||||
|
||||
suspend fun loginSuccess() {
|
||||
components[AccountSecretsManager].saveSecrets(ssoContext.account, AccountSecretsImpl(client))
|
||||
registerClientOnline(handler)
|
||||
sendRegister(handler)
|
||||
ssoContext.bot.logger.info { "Login successful." }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user