2017-09-28 05:20:22 +08:00
|
|
|
import userEjected from '../modifiers/userEjected';
|
|
|
|
|
2019-03-13 02:02:52 +08:00
|
|
|
export default function handleEjectedUser({ header, body }) {
|
2017-09-28 05:20:22 +08:00
|
|
|
const { meetingId, userId } = header;
|
2019-03-13 02:02:52 +08:00
|
|
|
const { reasonCode } = body;
|
2017-09-28 05:20:22 +08:00
|
|
|
|
2019-03-13 02:02:52 +08:00
|
|
|
return userEjected(meetingId, userId, reasonCode);
|
2017-09-28 05:20:22 +08:00
|
|
|
}
|