This commit is contained in:
Karlatemp 2021-02-09 14:44:34 +08:00
parent c9f56175af
commit 0780756bd4
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -361,7 +361,7 @@ internal class QQAndroidBotNetworkHandler(coroutineContext: CoroutineContext, bo
null -> {
val hasSession = bot.bdhSyncer.hasSession
kotlin.runCatching { bot.bdhSyncer.bdhSession.completeExceptionally(CancellationException("Timeout waiting for ConfigPushSvc.PushReq")) }
if (hasSession) {
if (!hasSession) {
logger.warning { "Missing ConfigPushSvc.PushReq. File uploading may be affected." }
} else {
logger.warning { "Missing ConfigPushSvc.PushReq. Using latest response. File uploading may be affected." }