Merge pull request #5906 from Tainan404/issue-5904

Fix audio lock setting not applied.
This commit is contained in:
Anton Georgiev 2018-07-23 14:58:57 -04:00 committed by GitHub
commit 3265b199b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ const audioLocked = () => {
const User = mapUser(Users.findOne({ userId }));
const Meeting = Meetings.findOne({ meetingId: Auth.meetingID });
const lockSetting = Meeting.lockSettingProps;
const lockSetting = Meeting.lockSettingsProp;
const audioLock = lockSetting ? lockSetting.disableMic : false;
return audioLock && User.isLocked;