Skip to content
Snippets Groups Projects
Commit 3aa4855a authored by Ramon Souza's avatar Ramon Souza
Browse files

fix client crash when viewers is ejected and userlist is hidden

parent 437255ed
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ export default withTracker(() => {
},
});
if (meeting.lockSettingsProps.hideUserList && currentUser.role === USER_CONFIG.role_viewer) {
if (meeting.lockSettingsProps.hideUserList && currentUser?.role === USER_CONFIG.role_viewer) {
selector.role = { $ne: USER_CONFIG.role_viewer };
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment