Added Polling related functions to the bbb_api_brigde
This commit is contained in:
parent
a813298e56
commit
83ec5b8892
@ -23,6 +23,16 @@ https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-client/
|
||||
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