possible fix for #67
This commit is contained in:
@@ -370,6 +370,8 @@ class TinodeWeb extends React.Component {
|
||||
handleOnline(online) {
|
||||
if (online) {
|
||||
this.handleError();
|
||||
clearInterval(this.reconnectCountdown);
|
||||
this.tinode.reconnect();
|
||||
} else {
|
||||
this.handleError(this.props.intl.formatMessage(messages.no_connection), 'warn');
|
||||
}
|
||||
|
||||
@@ -5154,6 +5154,8 @@ class TinodeWeb extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component)
|
||||
handleOnline(online) {
|
||||
if (online) {
|
||||
this.handleError();
|
||||
clearInterval(this.reconnectCountdown);
|
||||
this.tinode.reconnect();
|
||||
} else {
|
||||
this.handleError(this.props.intl.formatMessage(messages.no_connection), 'warn');
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user