change logout error code to unused value
This commit is contained in:
parent
4ee3872c2e
commit
9e6e15b8b0
@ -182,7 +182,10 @@ class Base extends Component {
|
||||
}
|
||||
|
||||
if (codeError && !meetingHasEnded) {
|
||||
logger.error({ logCode: 'startup_client_usercouldnotlogin_error' }, `User could not log in HTML5, hit ${codeError}`);
|
||||
// 680 is set for the codeError when the user requests a logout
|
||||
if (codeError !== '680') {
|
||||
logger.error({ logCode: 'startup_client_usercouldnotlogin_error' }, `User could not log in HTML5, hit ${codeError}`);
|
||||
}
|
||||
return (<ErrorScreen code={codeError} />);
|
||||
}
|
||||
// this.props.annotationsHandler.stop();
|
||||
|
@ -166,7 +166,8 @@ class SettingsDropdown extends PureComponent {
|
||||
|
||||
leaveSession() {
|
||||
document.dispatchEvent(new Event('exitVideo'));
|
||||
const LOGOUT_CODE = '403';
|
||||
// Set the logout code to 680 because it's not a real code and can be matched on the other side
|
||||
const LOGOUT_CODE = '680';
|
||||
makeCall('userLeftMeeting');
|
||||
// we don't check askForFeedbackOnLogout here,
|
||||
// it is checked in meeting-ended component
|
||||
|
Loading…
Reference in New Issue
Block a user