|
@@ -498,6 +498,7 @@ public class IMChatLoginServiceProcessor implements LoginCmdProcessor {
|
|
|
private void createConversation(Group group,User user) {
|
|
|
Map<String, Object> attrs = new HashMap<>();
|
|
|
Long conversationId = SnowflakeIdUtils.getInstance().nextId();
|
|
|
+ user.setConversationId(conversationId.toString());
|
|
|
attrs.put("id", conversationId );
|
|
|
//会话状态 0:游客会话 1:客户会话 群组类型 0:游客-客服 类型 1:客户-客服 类型
|
|
|
attrs.put("state", group.getGroupType());
|