mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d3557c92a7
@ -98,9 +98,9 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
|
||||
val data = FriendList.GetFriendGroupList(
|
||||
bot.client,
|
||||
0,
|
||||
20,
|
||||
10,
|
||||
0,
|
||||
10
|
||||
0
|
||||
).sendAndExpect<FriendList.GetFriendGroupList.Response>()
|
||||
println(data.contentToString())
|
||||
}
|
||||
|
@ -32,7 +32,9 @@ internal class FriendList {
|
||||
override suspend fun ByteReadPacket.decode(bot: QQAndroidBot): Response {
|
||||
|
||||
println(this
|
||||
.apply { discardExact(4) }
|
||||
.apply {
|
||||
this.discardExact(4)
|
||||
}
|
||||
.decodeUniPacket(GetFriendListResp.serializer())
|
||||
.contentToString()
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user