update 移除推断等待

This commit is contained in:
gallonyin
2023-03-01 21:30:26 +08:00
parent 1bae438f56
commit a273434289
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ object WeworkLoopImpl {
* @param needInfer 是否需要推断@me并等待回复
* @param timeout 在房间内等待回复的时长
*/
fun getChatMessageList(needInfer: Boolean = true, timeout: Long = 5000): Boolean {
fun getChatMessageList(needInfer: Boolean = false, timeout: Long = 5000): Boolean {
if (Constant.autoReply == 0) return true
val roomType = WeworkRoomUtil.getRoomType()
var titleList = WeworkRoomUtil.getRoomTitle()

View File

@@ -1748,7 +1748,7 @@ object WeworkOperationImpl {
log("发送消息: \n$content")
AccessibilityUtil.performClick(sendButton)
sleep(Constant.POP_WINDOW_INTERVAL)
WeworkLoopImpl.getChatMessageList()
WeworkLoopImpl.getChatMessageList(needInfer = false)
return true
} else {
LogUtils.e("未找到发送按钮")