Id for lowering hand now person doing it

This commit is contained in:
perroned 2014-08-18 08:15:46 -07:00
parent 7a895f5edc
commit 7738b246aa

View File

@ -29,7 +29,8 @@ Template.header.events
"click .raiseHand": (event) ->
Meteor.call('userRaiseHand', getInSession("meetingId"), @id)
"click .lowerHand": (event) ->
loweredBy = @id # TODO! this must be the userid of the person lowering the hand - instructor/student
# loweredBy = @id # TODO! this must be the userid of the person lowering the hand - instructor/student
loweredBy = getInSession("userId")
Meteor.call('userLowerHand', getInSession("meetingId"), @id, loweredBy)
"click .whiteboardIcon": (event) ->
toggleWhiteBoard()