REQ-3345: 如果聊天消息只有一个人的情况下,同步发送

This commit is contained in:
yanglin 2025-02-25 18:01:42 +08:00
parent 83dcef6085
commit 355eefce85

View File

@ -292,6 +292,8 @@ public class MessageController implements MessageApi {
MessageDispatchResponse response = commonSendOneHandler.send(history);
if (response.isSuccess()) {
messageHistoryService.setSendSuccess(history, response.getMsgid(), null);
log.info("sendChatMessage, send success, historyId={}, taskId={}, bizId={}",
history.getId(), history.getImMessageTaskId(), history.getBizId());
} else {
log.warn("sendChatMessage, send failed, historyId={}, taskId={}, bizId={}, failReason={}",
history.getId(), history.getImMessageTaskId(), history.getBizId(), response.getDesc());