Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
bfcd2650
Commit
bfcd2650
authored
Feb 02, 2020
by
Him188
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
26e9f893
ae9d2bca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt
...moe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt
+4
-4
No files found.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidBotNetworkHandler.kt
View file @
bfcd2650
...
...
@@ -135,19 +135,19 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
currentFriendCount
++
})
}
bot
.
logger
.
verbose
(
"正在加载好友
信息
${currentFriendCount}/${totalFriendCount}"
)
bot
.
logger
.
verbose
(
"正在加载好友
列表
${currentFriendCount}/${totalFriendCount}"
)
if
(
currentFriendCount
>=
totalFriendCount
)
{
break
}
delay
(
200
)
}
bot
.
logger
.
info
(
"好友
信息
加载完成, 共 ${currentFriendCount}个"
)
bot
.
logger
.
info
(
"好友
列表
加载完成, 共 ${currentFriendCount}个"
)
}
catch
(
e
:
Exception
)
{
bot
.
logger
.
info
(
"加载好友
信息
失败|一般这是由于加载过于频繁导致/将以热加载方式加载好友列表"
)
bot
.
logger
.
info
(
"加载好友
列表
失败|一般这是由于加载过于频繁导致/将以热加载方式加载好友列表"
)
}
try
{
bot
.
logger
.
info
(
"开始加载组
信息
"
)
bot
.
logger
.
info
(
"开始加载组
列表
"
)
val
troopData
=
FriendList
.
GetTroopListSimplify
(
bot
.
client
).
sendAndExpect
<
FriendList
.
GetTroopListSimplify
.
Response
>(
timeoutMillis
=
1000
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment