attempted fix for tinode/chat#278
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "tinode-webapp",
|
"name": "tinode-webapp",
|
||||||
"description": "Tinode messenger for the web",
|
"description": "Tinode messenger for the web",
|
||||||
"version": "0.16.2-rc1",
|
"version": "0.16.2-rc2",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/tinode/example-react-js.git"
|
"url": "https://github.com/tinode/example-react-js.git"
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
// This is a generated file. Don't edit.
|
// This is a generated file. Don't edit.
|
||||||
|
|
||||||
export const PACKAGE_VERSION = "0.16.2-rc1";
|
export const PACKAGE_VERSION = "0.16.2-rc2";
|
||||||
|
|||||||
@@ -524,6 +524,7 @@ class TinodeWeb extends React.Component {
|
|||||||
withCred().
|
withCred().
|
||||||
build()
|
build()
|
||||||
).catch((err) => {
|
).catch((err) => {
|
||||||
|
this.tinode.disconnect();
|
||||||
localStorage.removeItem('auth-token');
|
localStorage.removeItem('auth-token');
|
||||||
this.handleError(err.message, 'err');
|
this.handleError(err.message, 'err');
|
||||||
HashNavigation.navigateTo('');
|
HashNavigation.navigateTo('');
|
||||||
|
|||||||
+3
-1
@@ -853,7 +853,7 @@ module.exports = JSON.parse("{\"en\":{\"archived_contacts\":\"Archived contacts
|
|||||||
"use strict";
|
"use strict";
|
||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PACKAGE_VERSION", function() { return PACKAGE_VERSION; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PACKAGE_VERSION", function() { return PACKAGE_VERSION; });
|
||||||
var PACKAGE_VERSION = "0.16.2-rc1";
|
var PACKAGE_VERSION = "0.16.2-rc2";
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -4880,6 +4880,8 @@ var TinodeWeb = function (_React$Component) {
|
|||||||
myUserId: this.tinode.getCurrentUserID()
|
myUserId: this.tinode.getCurrentUserID()
|
||||||
});
|
});
|
||||||
me.subscribe(me.startMetaQuery().withLaterSub().withDesc().withTags().withCred().build()).catch(function (err) {
|
me.subscribe(me.startMetaQuery().withLaterSub().withDesc().withTags().withCred().build()).catch(function (err) {
|
||||||
|
_this7.tinode.disconnect();
|
||||||
|
|
||||||
localStorage.removeItem('auth-token');
|
localStorage.removeItem('auth-token');
|
||||||
|
|
||||||
_this7.handleError(err.message, 'err');
|
_this7.handleError(err.message, 'err');
|
||||||
|
|||||||
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
+57
-32
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