mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-23 06:10:30 +08:00
Remove debug print
This commit is contained in:
parent
59a70a59c8
commit
0c89e16c0a
@ -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.OutgoingPacket
|
||||||
import net.mamoe.mirai.qqandroid.network.protocol.packet.OutgoingPacketFactory
|
import net.mamoe.mirai.qqandroid.network.protocol.packet.OutgoingPacketFactory
|
||||||
import net.mamoe.mirai.qqandroid.network.protocol.packet.buildOutgoingUniPacket
|
import net.mamoe.mirai.qqandroid.network.protocol.packet.buildOutgoingUniPacket
|
||||||
import net.mamoe.mirai.utils.io.debugIfFail
|
|
||||||
|
|
||||||
|
|
||||||
internal class FriendList {
|
internal class FriendList {
|
||||||
@ -22,7 +21,7 @@ internal class FriendList {
|
|||||||
internal object GetTroopMemberList :
|
internal object GetTroopMemberList :
|
||||||
OutgoingPacketFactory<GetTroopMemberList.Response>("friendlist.GetTroopMemberListReq") {
|
OutgoingPacketFactory<GetTroopMemberList.Response>("friendlist.GetTroopMemberListReq") {
|
||||||
override suspend fun ByteReadPacket.decode(bot: QQAndroidBot): Response {
|
override suspend fun ByteReadPacket.decode(bot: QQAndroidBot): Response {
|
||||||
val res = this.debugIfFail { this.decodeUniPacket(GetTroopMemberListResp.serializer()) }
|
val res = this.decodeUniPacket(GetTroopMemberListResp.serializer())
|
||||||
return Response(
|
return Response(
|
||||||
res.vecTroopMember,
|
res.vecTroopMember,
|
||||||
res.nextUin
|
res.nextUin
|
||||||
|
Loading…
Reference in New Issue
Block a user