rename functions to past tense

This commit is contained in:
KDSBrowne 2017-09-21 10:55:07 -07:00
parent 30da581d6d
commit b35b16f642
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ import handleEmojiStatus from './handlers/emojiStatus';
import handleGetUsers from './handlers/getUsers'; import handleGetUsers from './handlers/getUsers';
import handleGuestsWaitingForApproval from './handlers/guestsWaitingForApproval'; import handleGuestsWaitingForApproval from './handlers/guestsWaitingForApproval';
import handleGuestApproved from './handlers/guestApproved'; import handleGuestApproved from './handlers/guestApproved';
import handleKickUser from './handlers/kickUser'; import handleUserKicked from './handlers/userKicked';
RedisPubSub.on('PresenterAssignedEvtMsg', handlePresenterAssigned); RedisPubSub.on('PresenterAssignedEvtMsg', handlePresenterAssigned);
RedisPubSub.on('UserJoinedMeetingEvtMsg', handleUserJoined); RedisPubSub.on('UserJoinedMeetingEvtMsg', handleUserJoined);
@ -17,4 +17,4 @@ RedisPubSub.on('UserEmojiChangedEvtMsg', handleEmojiStatus);
RedisPubSub.on('SyncGetUsersMeetingRespMsg', handleGetUsers); RedisPubSub.on('SyncGetUsersMeetingRespMsg', handleGetUsers);
RedisPubSub.on('GuestsWaitingForApprovalEvtMsg', handleGuestsWaitingForApproval); RedisPubSub.on('GuestsWaitingForApprovalEvtMsg', handleGuestsWaitingForApproval);
RedisPubSub.on('GuestApprovedEvtMsg', handleGuestApproved); RedisPubSub.on('GuestApprovedEvtMsg', handleGuestApproved);
RedisPubSub.on('UserEjectedFromMeetingEvtMsg', handleKickUser); RedisPubSub.on('UserEjectedFromMeetingEvtMsg', handleUserKicked);

View File

@ -1,7 +1,7 @@
import kickUser from '../modifiers/kickUser'; import userKicked from '../modifiers/userKicked';
export default function handleKickUser({ header }) { export default function handleKickUser({ header }) {
const { meetingId, userId } = header; const { meetingId, userId } = header;
return kickUser(meetingId, userId); return userKicked(meetingId, userId);
} }