diff --git a/app/src/main/java/org/yameida/worktool/service/WeworkOperationImpl.kt b/app/src/main/java/org/yameida/worktool/service/WeworkOperationImpl.kt index 7c88090..2c12cbf 100644 --- a/app/src/main/java/org/yameida/worktool/service/WeworkOperationImpl.kt +++ b/app/src/main/java/org/yameida/worktool/service/WeworkOperationImpl.kt @@ -39,16 +39,16 @@ object WeworkOperationImpl { if (WeworkRoomUtil.intoRoom(title)) { if (sendChatMessage(receivedContent, at = at, atList = atList)) { LogUtils.d("$title: 发送成功") - return true } else { LogUtils.d("$title: 发送失败") + error("$title: 发送失败 $receivedContent") } } else { - LogUtils.d("$title: 发送失败") - error("$title: 发送失败 $receivedContent") + LogUtils.d("$title: 发送失败 进入房间失败") + error("$title: 发送失败 进入房间失败 $receivedContent") } } - return false + return true } /**