fixed VideoService.isLocked error

This commit is contained in:
Bobak Oftadeh 2018-11-30 16:41:08 +00:00
parent e51a09de0f
commit cdc6033c45

View File

@ -106,7 +106,8 @@ class VideoService {
isLocked() {
const m = Meetings.findOne({ meetingId: Auth.meetingID });
return m.lockSettingsProp ? m.lockSettingsProp.disableCam : false;
const lockSetings = m.lockSettingsProp || {};
return lockSetings ? lockSetings.disableCam : false;
}
userId() {