3efdbd9012
Adds two new messages which clear the users emoji statuses. This messages enables this task to be done in a single call, instead of triggering one method call for each user. 'ClearAllUsersEmojiCmdMsg' is sent from meteor to akka and updates all the emoji states in the users model. 'ClearedAllUsersEmojiEvtMsg' is sent from akka to meteor. This triggers the mongo collection update.
8 lines
228 B
JavaScript
8 lines
228 B
JavaScript
import { check } from 'meteor/check';
|
|
import clearUsersEmoji from '../modifiers/clearUsersEmoji';
|
|
|
|
export default function handleClearUsersEmoji({ body }, meetingId) {
|
|
check(meetingId, String);
|
|
clearUsersEmoji(meetingId);
|
|
}
|