jiti-meet/modules/UI/side_pannels/SidePanels.js

14 lines
296 B
JavaScript
Raw Normal View History

2016-10-25 13:16:15 +00:00
import Chat from './chat/Chat';
2017-07-26 20:52:41 +00:00
import { isButtonEnabled } from '../../../react/features/toolbox';
2016-10-25 13:16:15 +00:00
const SidePanels = {
init(eventEmitter) {
// Initialize chat
2017-07-26 20:52:41 +00:00
if (isButtonEnabled('chat')) {
Chat.init(eventEmitter);
}
2016-10-25 13:16:15 +00:00
}
};
export default SidePanels;