@ -10,7 +10,7 @@ import Recorder from './modules/recorder/Recorder';
import mediaDeviceHelper from './modules/devices/mediaDeviceHelper' ;
import mediaDeviceHelper from './modules/devices/mediaDeviceHelper' ;
import { reportError } from './modules/util/helpers' ;
import { reload , reportError } from './modules/util/helpers' ;
import UIEvents from './service/UI/UIEvents' ;
import UIEvents from './service/UI/UIEvents' ;
import UIUtil from './modules/UI/util/UIUtil' ;
import UIUtil from './modules/UI/util/UIUtil' ;
@ -417,7 +417,7 @@ class ConferenceConnector {
APP . UI . notifyMaxUsersLimitReached ( ) ;
APP . UI . notifyMaxUsersLimitReached ( ) ;
break ;
break ;
case ConferenceErrors . INCOMPATIBLE _SERVER _VERSIONS :
case ConferenceErrors . INCOMPATIBLE _SERVER _VERSIONS :
window . location . reload ( ) ;
reload ( ) ;
break ;
break ;
default :
default :
this . _handleConferenceFailed ( err , ... params ) ;
this . _handleConferenceFailed ( err , ... params ) ;
@ -1474,7 +1474,7 @@ export default {
APP . UI . addListener ( UIEvents . LOGOUT , ( ) => {
APP . UI . addListener ( UIEvents . LOGOUT , ( ) => {
AuthHandler . logout ( room ) . then ( url => {
AuthHandler . logout ( room ) . then ( url => {
if ( url ) {
if ( url ) {
window . location . href = url ;
UIUtil . redirect ( url ) ;
} else {
} else {
this . hangup ( true ) ;
this . hangup ( true ) ;
}
}