leave the room if focus left

This commit is contained in:
isymchych 2016-02-22 16:57:36 +02:00
parent 93d5497c76
commit c027050e11
1 changed files with 1 additions and 0 deletions

View File

@ -228,6 +228,7 @@ class ConferenceConnector {
break; break;
case ConferenceErrors.FOCUS_LEFT: case ConferenceErrors.FOCUS_LEFT:
room.leave().then(() => connection.disconnect());
APP.UI.notifyFocusLeft(); APP.UI.notifyFocusLeft();
break; break;