Skip to content
Snippets Groups Projects
Unverified Commit 61e131e0 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12717 from ramonlsouza/issue-12714

fix: client crash when userlist is hidden and viewer is ejected
parents 437255ed 3aa4855a
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ export default withTracker(() => { ...@@ -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 }; 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