mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-10 20:20:08 +08:00
Friend List Complete
This commit is contained in:
parent
be7c53767e
commit
be8ab11f36
@ -106,23 +106,6 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
|
||||
override suspend fun init() {
|
||||
//start updating friend/group list
|
||||
bot.logger.info("Start updating friend/group list")
|
||||
|
||||
/*
|
||||
val data = FriendList.GetFriendGroupList(
|
||||
bot.client,
|
||||
0,
|
||||
20,
|
||||
0,
|
||||
0
|
||||
).sendAndExpect<FriendList.GetFriendGroupList.Response>()
|
||||
|
||||
|
||||
println(data.contentToString())
|
||||
*/
|
||||
|
||||
/*
|
||||
* 开始加载Contact表
|
||||
* */
|
||||
var currentFriendCount = 0
|
||||
var totalFriendCount: Short = 0
|
||||
while (true) {
|
||||
|
@ -46,6 +46,7 @@ internal class MessageSvc {
|
||||
PbGetMsg(client, packet.stMsgInfo?.uMsgTime ?: 0).sendAndExpect<MultiPacket<FriendMessage>>()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -25,4 +25,4 @@ data class BotAccount(
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Target(CLASS, TYPEALIAS, FUNCTION, PROPERTY, FIELD, CONSTRUCTOR)
|
||||
@Experimental(level = Experimental.Level.WARNING)
|
||||
internal annotation class RawAccountIdUse
|
||||
annotation class RawAccountIdUse
|
Loading…
Reference in New Issue
Block a user