Remove debugging logs

This commit is contained in:
Him188 2020-03-08 22:16:04 +08:00
parent a64c061377
commit e51cf7ee71

View File

@ -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<ImMsgBody.Elem>.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))