diff --git a/src/db/roomstore.ts b/src/db/roomstore.ts index 0928306b605b772bf89c48fd0afa934827016127..054a468cf871da86fc481ba28cd893d98a8fa5ab 100644 --- a/src/db/roomstore.ts +++ b/src/db/roomstore.ts @@ -212,7 +212,7 @@ export class DbRoomStore { // Only push rooms with a remote res.push({ id: (entry.id as string), - matrix: new MatrixStoreRoom(matrixId) : null, + matrix: matrixId ? new MatrixStoreRoom(matrixId) : null, remote, }); }