From 3cbddb9d6a6740fd79b060feb77c4faf486ca539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 2 Dec 2021 13:39:32 +0100 Subject: [PATCH] fix(breakout-rooms) mark function as async Not all code paths return a Promise, make sure it does. --- conference.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conference.js b/conference.js index d9b218708..68492c776 100644 --- a/conference.js +++ b/conference.js @@ -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()) {