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';
|
2023-06-08 09:10:07 +08:00
|
|
|
import handleEmojiStatus from './handlers/emojiStatus';
|
2017-10-12 09:02:23 +08:00
|
|
|
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-06-08 09:10:07 +08:00
|
|
|
import handleChangeMobileFlag from './handlers/changeMobileFlag';
|
|
|
|
import handleChangeRaiseHand from './handlers/changeRaiseHand';
|
|
|
|
import handleAway from './handlers/changeAway';
|
|
|
|
import handleClearUsersEmoji from './handlers/clearUsersEmoji';
|
2022-12-24 03:13:26 +08:00
|
|
|
import handleUserSpeechLocaleChanged from './handlers/userSpeechLocaleChanged';
|
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);
|
2023-06-08 09:10:07 +08:00
|
|
|
RedisPubSub.on('UserEmojiChangedEvtMsg', handleEmojiStatus);
|
|
|
|
RedisPubSub.on('ClearedAllUsersEmojiEvtMsg', handleClearUsersEmoji);
|
|
|
|
RedisPubSub.on('UserRaiseHandChangedEvtMsg', handleChangeRaiseHand);
|
|
|
|
RedisPubSub.on('UserAwayChangedEvtMsg', handleAway);
|
2017-10-12 09:02:23 +08:00
|
|
|
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);
|
2022-12-24 03:13:26 +08:00
|
|
|
RedisPubSub.on('UserSpeechLocaleChangedEvtMsg', handleUserSpeechLocaleChanged);
|