forked from mystiq/hydrogen-web
stylistic change
This commit is contained in:
parent
62dcb61536
commit
31a8227e53
1 changed files with 4 additions and 2 deletions
|
@ -313,8 +313,10 @@ export class Timeline {
|
|||
* @param {EventEntry[]} entries
|
||||
*/
|
||||
async _loadContextEntriesWhereNeeded(entries) {
|
||||
const entriesNeedingContext = entries.filter(e => !!e.contextEventId);
|
||||
for (const entry of entriesNeedingContext) {
|
||||
for (const entry of entries) {
|
||||
if (!entry.contextEventId) {
|
||||
continue;
|
||||
}
|
||||
const id = entry.contextEventId;
|
||||
let contextEvent = this._getTrackedEntry(id);
|
||||
if (!contextEvent) {
|
||||
|
|
Loading…
Reference in a new issue