REQ-3345: 如果聊天消息只有一个人的情况下,同步发送
This commit is contained in:
parent
83dcef6085
commit
355eefce85
@ -292,6 +292,8 @@ public class MessageController implements MessageApi {
|
|||||||
MessageDispatchResponse response = commonSendOneHandler.send(history);
|
MessageDispatchResponse response = commonSendOneHandler.send(history);
|
||||||
if (response.isSuccess()) {
|
if (response.isSuccess()) {
|
||||||
messageHistoryService.setSendSuccess(history, response.getMsgid(), null);
|
messageHistoryService.setSendSuccess(history, response.getMsgid(), null);
|
||||||
|
log.info("sendChatMessage, send success, historyId={}, taskId={}, bizId={}",
|
||||||
|
history.getId(), history.getImMessageTaskId(), history.getBizId());
|
||||||
} else {
|
} else {
|
||||||
log.warn("sendChatMessage, send failed, historyId={}, taskId={}, bizId={}, failReason={}",
|
log.warn("sendChatMessage, send failed, historyId={}, taskId={}, bizId={}, failReason={}",
|
||||||
history.getId(), history.getImMessageTaskId(), history.getBizId(), response.getDesc());
|
history.getId(), history.getImMessageTaskId(), history.getBizId(), response.getDesc());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user