From c9a3bb23ee8d868ee50cc78e539a376ce4b71acb Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 6 May 2021 17:40:36 +0800 Subject: [PATCH] Minor improvements after rebase --- mirai-core/src/commonMain/kotlin/QQAndroidBot.kt | 2 -- .../commonMain/kotlin/network/handler/state/StateObserver.kt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mirai-core/src/commonMain/kotlin/QQAndroidBot.kt b/mirai-core/src/commonMain/kotlin/QQAndroidBot.kt index 4e81673c0..74973f623 100644 --- a/mirai-core/src/commonMain/kotlin/QQAndroidBot.kt +++ b/mirai-core/src/commonMain/kotlin/QQAndroidBot.kt @@ -55,8 +55,6 @@ internal fun Bot.asQQAndroidBot(): QQAndroidBot { // for tests internal class BotDebugConfiguration( var stateObserver: StateObserver? = LOGGING, - var recordExceptionInPacketDecoding: Boolean = false, - var allowReinitActions: Boolean = false, ) @Suppress("INVISIBLE_MEMBER", "BooleanLiteralArgument", "OverridingDeprecatedMember") diff --git a/mirai-core/src/commonMain/kotlin/network/handler/state/StateObserver.kt b/mirai-core/src/commonMain/kotlin/network/handler/state/StateObserver.kt index 43d71f085..a33d0f645 100644 --- a/mirai-core/src/commonMain/kotlin/network/handler/state/StateObserver.kt +++ b/mirai-core/src/commonMain/kotlin/network/handler/state/StateObserver.kt @@ -17,7 +17,7 @@ import net.mamoe.mirai.utils.MiraiLogger import net.mamoe.mirai.utils.systemProp /** - * Stateless observer of state changes. + * Observer of state changes. * * @see SafeStateObserver * @see LoggingStateObserver