diff --git a/src/ui/web/session/room/TimelineList.js b/src/ui/web/session/room/TimelineList.js index 8838963c..b43fcc27 100644 --- a/src/ui/web/session/room/TimelineList.js +++ b/src/ui/web/session/room/TimelineList.js @@ -48,8 +48,8 @@ export class TimelineList extends ListView { while (predicate()) { // fill, not enough content to fill timeline this._topLoadingPromise = this._viewModel.loadAtTop(); - const startReached = await this._topLoadingPromise; - if (startReached) { + const shouldStop = await this._topLoadingPromise; + if (shouldStop) { break; } }