This commit is contained in:
or-else
2019-10-10 11:57:23 +03:00
parent 8e9349b58b
commit 79d0c6dd14
9 changed files with 67 additions and 39 deletions
+1 -1
View File
@@ -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
View File
@@ -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";
+1
View File
@@ -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
View File
@@ -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');
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+57 -32
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long