update 优化推断等待

This commit is contained in:
gallonyin
2023-03-15 17:24:45 +08:00
parent 302ba32a79
commit 8f4f8c9497

View File

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