Skip to content
Snippets Groups Projects
Commit 888b8c6e authored by Anton Georgiev's avatar Anton Georgiev
Browse files

check if null to prevent error

parent 70d3c00e
No related branches found
No related tags found
No related merge requests found
......@@ -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 -->
......
......@@ -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
......
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