You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Fix broken tests
This commit is contained in:
@@ -552,7 +552,7 @@ SyncApi.prototype._sync = function(syncOptions) {
|
||||
// If there's an accumulator then the first HTTP response is actually the
|
||||
// accumulated data. We don't want to accumulate the same thing twice, so
|
||||
// only accumulate if this isn't a cached response.
|
||||
if (!isCachedResponse) {
|
||||
if (self.opts.syncAccumulator && !isCachedResponse) {
|
||||
self.opts.syncAccumulator.accumulateRooms(data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user