From 5d8acabbc703db07409d470ff0d9f9bd786157d3 Mon Sep 17 00:00:00 2001 From: Will Hunt <will@half-shot.uk> Date: Tue, 12 Feb 2019 21:14:25 +0000 Subject: [PATCH] Fix linting --- src/db/roomstore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/roomstore.ts b/src/db/roomstore.ts index 0928306..054a468 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, }); } -- GitLab