mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 07:30:09 +08:00
Remove debugging logs
This commit is contained in:
parent
a64c061377
commit
e51cf7ee71
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user