Merge pull request #4383 from KDSBrowne/x2.0.8-fix-undefined-chat-prop
[HTML5] - Fix Chat bug
This commit is contained in:
commit
4a148ebfce
@ -107,7 +107,7 @@ const isChatLocked = (receiverID) => {
|
||||
const meeting = Meetings.findOne({});
|
||||
const user = Users.findOne({});
|
||||
|
||||
if (meeting.lockSettingsProp !== 'undefined') {
|
||||
if (meeting.lockSettingsProp !== undefined) {
|
||||
const isPubChatLocked = meeting.lockSettingsProp.disablePubChat;
|
||||
const isPrivChatLocked = meeting.lockSettingsProp.disablePrivChat;
|
||||
const isViewer = user.role === "VIEWER";
|
||||
|
Loading…
Reference in New Issue
Block a user