Merge pull request #104 from vector-im/bwindels/cantlogin
Fix unable to login if you have rooms without any events in the initial sync
This commit is contained in:
commit
a86b25736c
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ export class Sync {
|
||||||
// ignore rooms with empty timelines during initial sync,
|
// ignore rooms with empty timelines during initial sync,
|
||||||
// see https://github.com/vector-im/hydrogen-web/issues/15
|
// see https://github.com/vector-im/hydrogen-web/issues/15
|
||||||
if (isInitialSync && timelineIsEmpty(roomResponse)) {
|
if (isInitialSync && timelineIsEmpty(roomResponse)) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
let room = this._session.rooms.get(roomId);
|
let room = this._session.rooms.get(roomId);
|
||||||
if (!room) {
|
if (!room) {
|
||||||
|
|
Reference in a new issue