23 lines
1.4 KiB
JavaScript
23 lines
1.4 KiB
JavaScript
import RedisPubSub from '/imports/startup/server/redis';
|
|
import handleRemoveUser from './handlers/removeUser';
|
|
import handleUserJoined from './handlers/userJoined';
|
|
import handleUserLeftFlagUpdated from './handlers/userLeftFlagUpdated';
|
|
import handleValidateAuthToken from './handlers/validateAuthToken';
|
|
import handlePresenterAssigned from './handlers/presenterAssigned';
|
|
import handleChangeRole from './handlers/changeRole';
|
|
import handleUserPinChanged from './handlers/userPinChanged';
|
|
import handleUserInactivityInspect from './handlers/userInactivityInspect';
|
|
import handleChangeMobileFlag from '/imports/api/users/server/handlers/changeMobileFlag';
|
|
import handleUserSpeechLocaleChanged from './handlers/userSpeechLocaleChanged';
|
|
|
|
RedisPubSub.on('PresenterAssignedEvtMsg', handlePresenterAssigned);
|
|
RedisPubSub.on('UserJoinedMeetingEvtMsg', handleUserJoined);
|
|
RedisPubSub.on('UserLeftMeetingEvtMsg', handleRemoveUser);
|
|
RedisPubSub.on('ValidateAuthTokenRespMsg', handleValidateAuthToken);
|
|
RedisPubSub.on('UserRoleChangedEvtMsg', handleChangeRole);
|
|
RedisPubSub.on('UserMobileFlagChangedEvtMsg', handleChangeMobileFlag);
|
|
RedisPubSub.on('UserLeftFlagUpdatedEvtMsg', handleUserLeftFlagUpdated);
|
|
RedisPubSub.on('UserPinStateChangedEvtMsg', handleUserPinChanged);
|
|
RedisPubSub.on('UserInactivityInspectMsg', handleUserInactivityInspect);
|
|
RedisPubSub.on('UserSpeechLocaleChangedEvtMsg', handleUserSpeechLocaleChanged);
|