1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00
This commit is contained in:
Bruno Windels
2018-08-30 15:23:14 +02:00
parent d72a70396a
commit d837ae64ac

View File

@@ -780,7 +780,7 @@ SyncApi.prototype._onSyncError = function(err, syncOptions) {
// instead, so that clients can observe this state
// if they wish.
this._startKeepAlives().then(() => {
if (this.getSyncState() == 'ERROR') {
if (this.getSyncState() === 'ERROR') {
this._updateSyncState("PREPARED", {
oldSyncToken: null,
nextSyncToken: null,