mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-10 20:20:08 +08:00
Fix trooplist
This commit is contained in:
parent
a707af649a
commit
a30fab106c
@ -67,7 +67,6 @@ internal class FriendList {
|
||||
internal object GetTroopListSimplify :
|
||||
PacketFactory<GetTroopListSimplify.Response>("friendlist.GetTroopListReqV2") {
|
||||
override suspend fun ByteReadPacket.decode(bot: QQAndroidBot): GetTroopListSimplify.Response {
|
||||
this.discardExact(4)
|
||||
val res = this.decodeUniPacket(GetTroopListRespV2.serializer())
|
||||
return Response(res.vecTroopList.orEmpty())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user