bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/actions-bar/service.js
2017-06-02 19:25:02 +00:00

12 lines
251 B
JavaScript
Executable File

import React from 'react';
import Auth from '/imports/ui/services/auth/index.js';
import Users from '/imports/api/users';
const isUserPresenter = () => Users.findOne({
userId: Auth.userID,
}).user.presenter;
export default {
isUserPresenter,
};