1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Merge branch 'develop' into bwindels/stylepreviewbar

This commit is contained in:
Bruno Windels
2019-04-17 14:24:25 +02:00
7 changed files with 92 additions and 41 deletions

View File

@@ -449,7 +449,7 @@ SyncApi.prototype._shouldAbortSync = function(error) {
if (error.errcode === "M_UNKNOWN_TOKEN") {
// The logout already happened, we just need to stop.
console.warn("Token no longer valid - assuming logout");
self.stop();
this.stop();
return true;
}
return false;