2018-03-10 02:42:14 +08:00
|
|
|
import { check } from 'meteor/check';
|
|
|
|
import addGroupChat from '../modifiers/addGroupChat';
|
|
|
|
|
2023-03-16 21:03:29 +08:00
|
|
|
export default async function handleGroupChatCreated({ body }, meetingId) {
|
2018-03-10 02:42:14 +08:00
|
|
|
check(meetingId, String);
|
|
|
|
check(body, Object);
|
|
|
|
|
2023-03-16 21:03:29 +08:00
|
|
|
await addGroupChat(meetingId, body);
|
2018-03-10 02:42:14 +08:00
|
|
|
}
|