From 0c89e16c0ac0889e23083ecc90e1104f06b354eb Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 4 Feb 2020 12:08:53 +0800 Subject: [PATCH] Remove debug print --- .../qqandroid/network/protocol/packet/list/FriendListPacket.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/list/FriendListPacket.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/list/FriendListPacket.kt index 677bd3b2b..60da217db 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/list/FriendListPacket.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/list/FriendListPacket.kt @@ -14,7 +14,6 @@ import net.mamoe.mirai.qqandroid.network.protocol.packet.EMPTY_BYTE_ARRAY import net.mamoe.mirai.qqandroid.network.protocol.packet.OutgoingPacket import net.mamoe.mirai.qqandroid.network.protocol.packet.OutgoingPacketFactory import net.mamoe.mirai.qqandroid.network.protocol.packet.buildOutgoingUniPacket -import net.mamoe.mirai.utils.io.debugIfFail internal class FriendList { @@ -22,7 +21,7 @@ internal class FriendList { internal object GetTroopMemberList : OutgoingPacketFactory("friendlist.GetTroopMemberListReq") { override suspend fun ByteReadPacket.decode(bot: QQAndroidBot): Response { - val res = this.debugIfFail { this.decodeUniPacket(GetTroopMemberListResp.serializer()) } + val res = this.decodeUniPacket(GetTroopMemberListResp.serializer()) return Response( res.vecTroopMember, res.nextUin