forked from External/greenlight
Show a browser notification when a user is waiting to join a room
The owner of a room receives a browser notification if he has the page open and another person tries to join his room.
This commit is contained in:
@ -77,10 +77,13 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<!-- Global javascript variables and helpers -->
|
||||
<script type="text/javascript">
|
||||
window.I18n = <%= client_translations.to_json.html_safe %>
|
||||
window.GreenLight = {};
|
||||
window.GreenLight.META_LISTED = "<%= BbbApi::META_LISTED %>";
|
||||
window.GreenLight.META_TOKEN = "<%= BbbApi::META_TOKEN %>";
|
||||
window.GreenLight.META_HOOK_URL = "<%= BbbApi::META_HOOK_URL %>";
|
||||
window.GreenLight.user = {};
|
||||
window.GreenLight.user.roomOwner = <%= is_room_owner %>;
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user