Commit a9447f03 by Future

创建聊天室调整

parent f21707e3
......@@ -1155,7 +1155,9 @@ public class ImConversationServiceImpl extends BaseServiceImpl<ImConversationMap
imConversation.setChatType(imConversationCreate.getChatType());
imConversation.setName(imConversationCreate.getName());
imConversation.setSystemFlag(false);
if (imConversationCreate.getAttributes() != null) {
imConversation.setAttributes(JsonUtils.encodeJson(imConversationCreate.getAttributes()));
}
imConversationService.save(imConversation);
// 将创建者自己添加到会话
......
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