bigbluebutton-Github/bigbluebutton-html5/imports/api/user-reaction/server/handlers/setUserReaction.js

8 lines
228 B
JavaScript
Raw Normal View History

import addUserReaction from '../modifiers/addUserReaction';
export default function handleSetUserReaction({ body }, meetingId) {
const { userId, reactionEmoji } = body;
addUserReaction(meetingId, userId, reactionEmoji);
}