diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.kt index 80484ce0b..23c7dc093 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/QQAndroidBot.kt @@ -408,8 +408,6 @@ internal abstract class QQAndroidBotBase constructor( when (response) { is MultiMsg.ApplyUp.Response.MessageTooLarge -> error("message is too large") - is MultiMsg.ApplyUp.Response.OK -> { - resId = response.resId } is MultiMsg.ApplyUp.Response.RequireUpload -> { resId = response.proto.msgResid diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/MultiMsg.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/MultiMsg.kt index 4b8176f49..fbc332b7a 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/MultiMsg.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/MultiMsg.kt @@ -170,10 +170,6 @@ internal class MultiMsg { } object MessageTooLarge : Response() - - data class OK( - val resId: String - ) : Response() } // captured from group