会话接通消息中增加会话创建人id

This commit is contained in:
joylink_zhangsai 2022-08-03 11:10:02 +08:00
parent adace3d7e5
commit 1f3173f393

View File

@ -44,6 +44,7 @@ public class ConversationSocketMessageVO {
public static ConversationSocketMessageVO buildMemberConnectConversationMessage(Conversation conversation, SimulationMember member) {
ConversationSocketMessageVO messageVO = new ConversationSocketMessageVO();
messageVO.id = conversation.getId();
messageVO.creatorId = conversation.getCreator().getId();
messageVO.memberId = member.getId();
messageVO.messageType = MessageType.CONNECT;
return messageVO;