1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-19 10:22:30 +03:00

Send a STOPPED sync updated after call to stopClient

This commit is contained in:
Frédéric Wang
2016-11-12 21:58:58 +01:00
parent 6f79a3107b
commit 7029083266

View File

@@ -542,6 +542,7 @@ SyncApi.prototype._sync = function(syncOptions) {
self._connectionReturnedDefer.reject(); self._connectionReturnedDefer.reject();
self._connectionReturnedDefer = null; self._connectionReturnedDefer = null;
} }
self._updateSyncState("STOPPED");
return; return;
} }
console.error("/sync error %s", err); console.error("/sync error %s", err);