зеркало из https://github.com/nextcloud/spreed.git
Add reorganize attendees service
Signed-off-by: Marco <marcoambrosini@icloud.com>
This commit is contained in:
Родитель
631db65497
Коммит
e834b18a71
|
@ -40,6 +40,22 @@ const configureBreakoutRooms = async function(token, mode, amount, attendeeMap)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Resets the request assistance
|
||||||
|
*
|
||||||
|
* @param token the breakout room token
|
||||||
|
* @param attendeeMap A json encoded Map of attendeeId => room number (0 based)
|
||||||
|
* @return {Promise<AxiosResponse<any>>} The array of conversations
|
||||||
|
*/
|
||||||
|
const reorganizeAttendees = async function(token, attendeeMap) {
|
||||||
|
return await axios.post(generateOcsUrl('/apps/spreed/api/v1/breakout-rooms/{token}/attendees', {
|
||||||
|
token,
|
||||||
|
}), {
|
||||||
|
attendeeMap,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deletes all breakout rooms for a given conversation
|
* Deletes all breakout rooms for a given conversation
|
||||||
*
|
*
|
||||||
|
@ -133,6 +149,7 @@ const resetRequestAssistance = async function(token) {
|
||||||
|
|
||||||
export {
|
export {
|
||||||
configureBreakoutRooms,
|
configureBreakoutRooms,
|
||||||
|
reorganizeAttendees,
|
||||||
deleteBreakoutRooms,
|
deleteBreakoutRooms,
|
||||||
getBreakoutRooms,
|
getBreakoutRooms,
|
||||||
startBreakoutRooms,
|
startBreakoutRooms,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче