From 56d45737c1bcbe03d332e3bfb6d8afb3dc68188b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E7=94=B2=E4=BB=91?= Date: Fri, 14 Oct 2022 14:33:27 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8F=91=E9=80=81=E5=A4=9A=E4=BA=BA?= =?UTF-8?q?=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/yameida/worktool/service/WeworkOperationImpl.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 } /**