bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/shapes/server/eventHandlers.js

7 lines
316 B
JavaScript

import RedisPubSub from '/imports/startup/server/redis';
import handleWhiteboardCleared from './handlers/whiteboardCleared';
import handleWhiteboardUndo from './handlers/whiteboardUndo';
RedisPubSub.on('ClearWhiteboardEvtMsg', handleWhiteboardCleared);
RedisPubSub.on('UndoWhiteboardEvtMsg', handleWhiteboardUndo);