check if null to prevent error

This commit is contained in:
Anton Georgiev 2015-04-27 14:42:03 +00:00
parent 70d3c00e74
commit 888b8c6ecc
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@
<div id="{{id}}" {{visibility name}} class="component">
<h3 class="title gradientBar">
<span class="glyphicon glyphicon-comment heading"></span>
{{title}}
{{> extraConversations}}
</h3>
{{>tabButtons}} <!-- Display public/options tabs, and private chat tabs -->

View File

@ -298,7 +298,7 @@ class Meteor.RedisPubSub
newSettings = message.payload
# if the disableMic setting was turned on
if !oldSettings.disableMic and newSettings.disableMic
if !oldSettings?.disableMic and newSettings.disableMic
handleLockingMic(meetingId, newSettings)
# substitute with the new lock settings