update 优化指令打断漏消息

This commit is contained in:
gallonyin
2023-07-21 14:49:08 +08:00
parent 7ac8a8527c
commit a747d5890c
2 changed files with 9 additions and 2 deletions

View File

@@ -46,7 +46,14 @@ object WeworkLoopImpl {
continue
}
if (!mainLoopRunning) break
getChatroomList()
if (getChatroomList()) {
LogUtils.d("进入点击进入聊天页: ")
if (!getChatMessageList()) {
sleep(Constant.POP_WINDOW_INTERVAL)
LogUtils.d("重试获取聊天列表: ")
getChatMessageList()
}
}
if (!mainLoopRunning) break
getFriendRequest()
if (!mainLoopRunning) break