[graphql-chatlist-migration] - quick fix suggestion
This commit is contained in:
parent
4676b74203
commit
7a43191cd1
@ -51,8 +51,7 @@ trait CreateGroupChatReqMsgHdlr extends SystemConfiguration {
|
|||||||
PermissionCheck.ejectUserForFailedPermission(meetingId, msg.header.userId, reason, bus.outGW, liveMeeting)
|
PermissionCheck.ejectUserForFailedPermission(meetingId, msg.header.userId, reason, bus.outGW, liveMeeting)
|
||||||
state
|
state
|
||||||
} else {
|
} else {
|
||||||
val groupChat = GroupChatApp.getGroupChatOfUsers(msg.header.userId, msg.body.users, state)
|
GroupChatApp.getGroupChatOfUsers(msg.header.userId, msg.body.users, state) match {
|
||||||
groupChat match {
|
|
||||||
case Some(groupChat) =>
|
case Some(groupChat) =>
|
||||||
ChatUserDAO.updateChatVisible(msg.header.meetingId, groupChat.id, msg.header.userId)
|
ChatUserDAO.updateChatVisible(msg.header.meetingId, groupChat.id, msg.header.userId)
|
||||||
state
|
state
|
||||||
|
Loading…
Reference in New Issue
Block a user