Previne loggedOut property to be undefined. close #12656

This commit is contained in:
Joao Siebel 2021-07-05 16:04:26 -03:00
parent 5f71d53348
commit 2cda889d51

View File

@ -40,7 +40,7 @@ export default function userLeaving(meetingId, userId, connectionId) {
const payload = {
userId,
sessionId: meetingId,
loggedOut: user.loggedOut,
loggedOut: user.loggedOut || false,
};
ClientConnections.removeClientConnection(`${meetingId}--${userId}`, connectionId);