bigbluebutton-Github/bigbluebutton-html5/imports/api/pads/server/eventHandlers.js

19 lines
901 B
JavaScript
Raw Normal View History

import RedisPubSub from '/imports/startup/server/redis';
import groupCreated from './handlers/groupCreated';
import padCreated from './handlers/padCreated';
import sessionCreated from './handlers/sessionCreated';
import padUpdated from './handlers/padUpdated';
import padContent from './handlers/padContent';
import padTail from './handlers/padTail';
import sessionDeleted from './handlers/sessionDeleted';
2022-09-25 04:59:29 +08:00
import captureSharedNotes from './handlers/captureSharedNotes';
RedisPubSub.on('PadGroupCreatedRespMsg', groupCreated);
RedisPubSub.on('PadCreatedRespMsg', padCreated);
RedisPubSub.on('PadSessionCreatedRespMsg', sessionCreated);
RedisPubSub.on('PadUpdatedEvtMsg', padUpdated);
RedisPubSub.on('PadContentEvtMsg', padContent);
RedisPubSub.on('PadTailEvtMsg', padTail);
RedisPubSub.on('PadSessionDeletedEvtMsg', sessionDeleted);
2022-09-25 04:59:29 +08:00
RedisPubSub.on('CaptureSharedNotesReqEvtMsg', captureSharedNotes);