From e51cf7ee71d5d774d015bdcaf11b8749f0dd5e65 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sun, 8 Mar 2020 22:16:04 +0800 Subject: [PATCH] Remove debugging logs --- .../kotlin/net/mamoe/mirai/qqandroid/message/messages.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/message/messages.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/message/messages.kt index 53b1486b8..870881314 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/message/messages.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/message/messages.kt @@ -355,10 +355,6 @@ internal class OnlineFriendImageImpl( internal fun MsgComm.Msg.toMessageChain(): MessageChain { val elements = this.msgBody.richText.elems - if (this.msgHead.fromUin == 1040400290L) { - println(this._miraiContentToString()) - } - return buildMessageChain(elements.size + 1) { +MessageSourceFromMsg(delegate = this@toMessageChain) elements.joinToMessageChain(this) @@ -425,7 +421,6 @@ internal fun List.joinToMessageChain(message: MessageChainBuilde message.add(LightApp(content)) } it.richMsg != null -> { - println(this._miraiContentToString()) val content = MiraiPlatformUtils.unzip(it.richMsg.template1, 1).encodeToString() when (it.richMsg.serviceId) { 1 -> message.add(JsonMessage(content))