fix: 移除发送消息时的冗余参数
更新 sendChatMessage 方法,移除 reply 参数以简化消息发送逻辑,确保在回复时直接使用标题参数。此更改提高了代码的可读性和维护性。
This commit is contained in:
@@ -157,7 +157,7 @@ object WeworkOperationImpl {
|
||||
} == true
|
||||
) {
|
||||
LogUtils.v("开始回复")
|
||||
if (sendChatMessage(receivedContent, reply = true, title = title)) {
|
||||
if (sendChatMessage(receivedContent, title = title)) {
|
||||
LogUtils.d("$title: 回复成功")
|
||||
successList.add(title)
|
||||
uploadCommandResult(message, ExecCallbackBean.SUCCESS, "", startTime, successList, failList)
|
||||
|
||||
Reference in New Issue
Block a user