Commit 3300e802 by 徐高华

表情

parent c8207583
......@@ -425,8 +425,14 @@ public class GroupChatServiceImpl implements GroupChatService {
return;
}
GroupChatDetailDTO detail = detailResp.getResult();
String chatName = EmojiParser.removeAllEmojis(detail.getName()) ;
String notice = EmojiParser.removeAllEmojis(detail.getNotice()) ;
String chatName = detail.getName();
if (StringUtils.isNotBlank(chatName)) {
chatName = EmojiParser.removeAllEmojis(chatName);
}
String notice = detail.getNotice();
if (StringUtils.isNotBlank(notice)) {
notice = EmojiParser.removeAllEmojis(notice);
}
chat.setGroupChatId(groupChatId);
chat.setChatAddTime(new Date(detail.getCreate_time() * 1000));
chat.setChatNotice(notice);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment