mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
Use continue in for loop rather than return
this was running in a Promise.all(array.map)) closure before
This commit is contained in:
parent
2c6a3a7ce7
commit
c7370d7b01
@ -246,7 +246,7 @@ export class Sync {
|
||||
// ignore rooms with empty timelines during initial sync,
|
||||
// see https://github.com/vector-im/hydrogen-web/issues/15
|
||||
if (isInitialSync && timelineIsEmpty(roomResponse)) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
let room = this._session.rooms.get(roomId);
|
||||
if (!room) {
|
||||
|
Loading…
Reference in New Issue
Block a user