fix NPE
This commit is contained in:
parent
615c2cdba3
commit
ec82c8155a
@ -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("_");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user