fix(breakout-rooms) mark function as async

Not all code paths return a Promise, make sure it does.
This commit is contained in:
Saúl Ibarra Corretgé 2021-12-02 13:39:32 +01:00 committed by Saúl Ibarra Corretgé
parent 76667066e2
commit 3cbddb9d6a
1 changed files with 1 additions and 1 deletions

View File

@ -2942,7 +2942,7 @@ export default {
* @param {boolean} doDisconnect - Wether leaving the room should also terminate the connection.
* @returns {Promise}
*/
leaveRoom(doDisconnect = true) {
async leaveRoom(doDisconnect = true) {
APP.store.dispatch(conferenceWillLeave(room));
if (room && room.isJoined()) {