forked from mystiq/hydrogen-web
fixup: check for event entry with eventType, event isn't exposed anymore
This commit is contained in:
parent
7218595c17
commit
45cd85ead1
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ export default class Timeline {
|
|||
|
||||
// tries to prepend `amount` entries to the `entries` list.
|
||||
async loadAtTop(amount) {
|
||||
const firstEventEntry = this._remoteEntries.array.find(e => !!e.event);
|
||||
const firstEventEntry = this._remoteEntries.array.find(e => !!e.eventType);
|
||||
if (!firstEventEntry) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue