bigbluebutton-Github/bigbluebutton-html5/imports/api/user-reaction/server/handlers/clearUsersEmoji.js
Arthurk12 3efdbd9012 feat(reactions): add akka messages to clear all emojis status
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.
2023-05-24 10:49:42 -03:00

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);
}