This commit is contained in:
yanglin 2024-03-12 17:33:16 +08:00
parent 615c2cdba3
commit ec82c8155a

View File

@ -282,14 +282,14 @@ public class MessageService {
}
private MessageDispatchResp buildMessageDispatchResp(String messageId, String fromImAccount, String toImAccount, String personId,
String appType, long timeTag, String desc) {
String appType, Long timeTag, String desc) {
MessageDispatchResp messageDispatchResp = new MessageDispatchResp();
messageDispatchResp.setMsgid(messageId);
messageDispatchResp.setAppType(appType);
messageDispatchResp.setFromImAccount(fromImAccount);
messageDispatchResp.setPersonId(personId);
messageDispatchResp.setToImAccount(toImAccount);
messageDispatchResp.setTimetag(timeTag);
messageDispatchResp.setTimetag(timeTag == null ? 0 : timeTag);
messageDispatchResp.setDesc(desc);
if (StringUtils.isNotBlank(toImAccount)) {
String[] personIdAndAppType = toImAccount.split("_");