fix 发送多人消息

This commit is contained in:
尹甲仑
2022-10-14 14:33:27 +08:00
parent 89752ae328
commit 56d45737c1

View File

@@ -39,16 +39,16 @@ object WeworkOperationImpl {
if (WeworkRoomUtil.intoRoom(title)) { if (WeworkRoomUtil.intoRoom(title)) {
if (sendChatMessage(receivedContent, at = at, atList = atList)) { if (sendChatMessage(receivedContent, at = at, atList = atList)) {
LogUtils.d("$title: 发送成功") LogUtils.d("$title: 发送成功")
return true
} else {
LogUtils.d("$title: 发送失败")
}
} else { } else {
LogUtils.d("$title: 发送失败") LogUtils.d("$title: 发送失败")
error("$title: 发送失败 $receivedContent") error("$title: 发送失败 $receivedContent")
} }
} else {
LogUtils.d("$title: 发送失败 进入房间失败")
error("$title: 发送失败 进入房间失败 $receivedContent")
} }
return false }
return true
} }
/** /**