2017-10-12 10:00:28 +08:00
|
|
|
import RedisPubSub from '/imports/startup/server/redis';
|
2017-02-23 01:49:44 +08:00
|
|
|
import handleRemoveUser from './handlers/removeUser';
|
2017-02-24 02:05:18 +08:00
|
|
|
import handleUserJoined from './handlers/userJoined';
|
2022-02-17 02:46:02 +08:00
|
|
|
import handleUserLeftFlagUpdated from './handlers/userLeftFlagUpdated';
|
2017-02-24 02:15:08 +08:00
|
|
|
import handleValidateAuthToken from './handlers/validateAuthToken';
|
2017-10-12 09:02:23 +08:00
|
|
|
import handlePresenterAssigned from './handlers/presenterAssigned';
|
|
|
|
import handleChangeRole from './handlers/changeRole';
|
2021-11-29 21:44:14 +08:00
|
|
|
import handleUserPinChanged from './handlers/userPinChanged';
|
2019-02-22 05:09:44 +08:00
|
|
|
import handleUserInactivityInspect from './handlers/userInactivityInspect';
|
2023-04-07 04:43:57 +08:00
|
|
|
import handleChangeMobileFlag from '/imports/api/users/server/handlers/changeMobileFlag';
|
2017-02-06 23:56:09 +08:00
|
|
|
|
2017-10-12 09:02:23 +08:00
|
|
|
RedisPubSub.on('PresenterAssignedEvtMsg', handlePresenterAssigned);
|
|
|
|
RedisPubSub.on('UserJoinedMeetingEvtMsg', handleUserJoined);
|
|
|
|
RedisPubSub.on('UserLeftMeetingEvtMsg', handleRemoveUser);
|
|
|
|
RedisPubSub.on('ValidateAuthTokenRespMsg', handleValidateAuthToken);
|
|
|
|
RedisPubSub.on('UserRoleChangedEvtMsg', handleChangeRole);
|
2023-04-07 04:43:57 +08:00
|
|
|
RedisPubSub.on('UserMobileFlagChangedEvtMsg', handleChangeMobileFlag);
|
2022-02-17 02:46:02 +08:00
|
|
|
RedisPubSub.on('UserLeftFlagUpdatedEvtMsg', handleUserLeftFlagUpdated);
|
2021-11-29 21:44:14 +08:00
|
|
|
RedisPubSub.on('UserPinStateChangedEvtMsg', handleUserPinChanged);
|
2019-03-13 02:02:52 +08:00
|
|
|
RedisPubSub.on('UserInactivityInspectMsg', handleUserInactivityInspect);
|