diff --git a/labs/meteor-client/app/client/globals.coffee b/labs/meteor-client/app/client/globals.coffee index d82ae4309c..ae7cdf76ea 100755 --- a/labs/meteor-client/app/client/globals.coffee +++ b/labs/meteor-client/app/client/globals.coffee @@ -210,7 +210,7 @@ Handlebars.registerHelper "visibility", (section) -> @toggleMic = (event) -> u = Meteor.Users.findOne({userId:getInSession("userId")}) if u? - Meteor.call('muteUser', getInSession("meetingId"), u.userId, getInSession("userId"), getInSession("userSecret"), not u.user.voiceUser.muted) + Meteor.call('muteUser', getInSession("meetingId"), u.userId, getInSession("userId"), getInSession("authToken"), not u.user.voiceUser.muted) @toggleNavbar = -> setInSession "display_navbar", !getInSession "display_navbar" diff --git a/labs/meteor-client/app/client/main.coffee b/labs/meteor-client/app/client/main.coffee index 4269bb8622..46d5718f51 100755 --- a/labs/meteor-client/app/client/main.coffee +++ b/labs/meteor-client/app/client/main.coffee @@ -80,8 +80,8 @@ Template.header.events "click .lowerHand": (event) -> $(".tooltip").hide() - Meteor.call('userLowerHand', getInSession("meetingId"), getInSession("userId"), getInSession("userId"), getInSession("userSecret")) - + Meteor.call('userLowerHand', getInSession("meetingId"), getInSession("userId"), getInSession("userId"), getInSession("authToken")) + "click .muteIcon": (event) -> $(".tooltip").hide() toggleMic @ @@ -90,7 +90,7 @@ Template.header.events #Meteor.log.info "navbar raise own hand from client" console.log "navbar raise own hand from client" $(".tooltip").hide() - Meteor.call('userRaiseHand', getInSession("meetingId"), getInSession("userId"), getInSession("userId"), getInSession("userSecret")) + Meteor.call('userRaiseHand', getInSession("meetingId"), getInSession("userId"), getInSession("userId"), getInSession("authToken")) # "click .settingsIcon": (event) -> # alert "settings" diff --git a/labs/meteor-client/app/client/views/users/user_item.coffee b/labs/meteor-client/app/client/views/users/user_item.coffee index fc9342d0c5..24f33884fe 100755 --- a/labs/meteor-client/app/client/views/users/user_item.coffee +++ b/labs/meteor-client/app/client/views/users/user_item.coffee @@ -8,4 +8,4 @@ Template.displayUserIcons.events # the _id of the person whose land is to be lowered # the userId of the person who is lowering the hand console.log "lower hand- client click handler" - Meteor.call('userLowerHand', getInSession("meetingId"), @userId, getInSession("userId"), getInSession("userSecret")) + Meteor.call('userLowerHand', getInSession("meetingId"), @userId, getInSession("userId"), getInSession("authToken"))