2018-03-10 02:42:14 +08:00
|
|
|
import { check } from 'meteor/check';
|
|
|
|
import addGroupChat from '../modifiers/addGroupChat';
|
|
|
|
|
|
|
|
export default function handleGroupChatCreated({ body }, meetingId) {
|
|
|
|
check(meetingId, String);
|
|
|
|
check(body, Object);
|
|
|
|
|
2020-11-23 21:13:46 +08:00
|
|
|
addGroupChat(meetingId, body);
|
2018-03-10 02:42:14 +08:00
|
|
|
}
|