You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
use CATCHUP state after ERROR before going back to SYNCING
This commit is contained in:
@@ -781,7 +781,7 @@ SyncApi.prototype._onSyncError = function(err, syncOptions) {
|
||||
// if they wish.
|
||||
this._startKeepAlives().then(() => {
|
||||
if (this.getSyncState() === 'ERROR') {
|
||||
this._updateSyncState("PREPARED", {
|
||||
this._updateSyncState("CATCHUP", {
|
||||
oldSyncToken: null,
|
||||
nextSyncToken: null,
|
||||
catchingUp: true,
|
||||
|
||||
Reference in New Issue
Block a user