Added Polling related functions to the bbb_api_brigde
This commit is contained in:
parent
a813298e56
commit
83ec5b8892
@ -22,6 +22,16 @@ https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-client/
|
||||
callback res
|
||||
else
|
||||
res
|
||||
|
||||
BBB.isPollGoing = (userId) ->
|
||||
if userId isnt undefined and Meteor.Polls.findOne({"poll_info.users": userId})
|
||||
return true
|
||||
else
|
||||
return false
|
||||
|
||||
BBB.getCurrentPoll = (userId) ->
|
||||
if userId isnt undefined and Meteor.Polls.findOne({"poll_info.users": userId})
|
||||
return Meteor.Polls.findOne({"poll_info.users": userId})
|
||||
|
||||
BBB.getMeetingId = ->
|
||||
Meteor.Meetings.findOne()?.meetingId
|
||||
|
Loading…
Reference in New Issue
Block a user