Do not send disconnect message

Do not send disconnect message when validate token fails as meteor will disconnect the client itself.
This commit is contained in:
Richard Alam 2020-04-28 19:29:21 -07:00
parent 1a2d0ae11b
commit 292f673f5e

View File

@ -79,7 +79,8 @@ trait ValidateAuthTokenReqMsgHdlr extends HandlerHelpers {
outGW.send(event)
// send a system message to force disconnection
Sender.sendDisconnectClientSysMsg(meetingId, userId, SystemUser.ID, reasonCode, outGW)
// Comment out as meteor will disconnect the client. Requested by Tiago (ralam apr 28, 2020)
//Sender.sendDisconnectClientSysMsg(meetingId, userId, SystemUser.ID, reasonCode, outGW)
state
}