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

9 lines
469 B
JavaScript
Raw Normal View History

2017-01-18 20:53:33 +08:00
import RedisPubSub from '/imports/startup/server/redis';
2017-02-09 00:02:39 +08:00
import handleCaptionHistory from './handlers/captionHistory';
2017-01-18 20:53:33 +08:00
import handleCaptionUpdate from './handlers/captionUpdate';
import handleCaptionOwnerUpdate from './handlers/captionOwnerUpdate';
2017-02-09 00:02:39 +08:00
RedisPubSub.on('send_caption_history_reply_message', handleCaptionHistory);
2017-01-18 20:53:33 +08:00
RedisPubSub.on('edit_caption_history_message', handleCaptionUpdate);
RedisPubSub.on('update_caption_owner_message', handleCaptionOwnerUpdate);