fix(breakout-rooms) mark function as async
Not all code paths return a Promise, make sure it does.
This commit is contained in:
parent
76667066e2
commit
3cbddb9d6a
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue