1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-29 16:43:09 +03:00

clarify comment

This commit is contained in:
David Baker
2017-07-20 11:00:50 +01:00
parent 2999603b28
commit ff685e33d5

View File

@@ -162,8 +162,8 @@ EventTimelineSet.prototype.resetLiveTimeline = function(
// special because they will have listeners attached to monitor changes to // special because they will have listeners attached to monitor changes to
// the current room state, so we move this RoomState from the end of the // the current room state, so we move this RoomState from the end of the
// current live timeline to the end of the new one and, if necessary, // current live timeline to the end of the new one and, if necessary,
// replace it with the fresh one created for the new timeline. We also make // replace it with a newly created one. We also make a copy for the start
// a copy for the start of the new timeline. // of the new timeline.
// if timeline support is disabled, forget about the old timelines // if timeline support is disabled, forget about the old timelines
const resetAllTimelines = !this._timelineSupport || !forwardPaginationToken; const resetAllTimelines = !this._timelineSupport || !forwardPaginationToken;