1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00
This commit is contained in:
Kegan Dougal
2017-03-22 12:01:58 +00:00
parent 1e05e0d6f8
commit 86fd42dcb5

View File

@@ -860,7 +860,7 @@ SyncApi.prototype._processSyncResponse = function(syncToken, data) {
self._deregisterStateListeners(room);
room.resetLiveTimeline(
joinObj.timeline.prev_batch,
self.opts.canResetEntireTimeline(room.roomId)
self.opts.canResetEntireTimeline(room.roomId),
);
// We have to assume any gap in any timeline is