From 6de6d94f7c8c2ff7adcea554d98dcd8707d61651 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 12 Jun 2020 08:40:08 -0600 Subject: [PATCH] Fix return type --- src/stores/room-list/algorithms/Algorithm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/room-list/algorithms/Algorithm.ts b/src/stores/room-list/algorithms/Algorithm.ts index 438ef78e7e..e8b167c1ba 100644 --- a/src/stores/room-list/algorithms/Algorithm.ts +++ b/src/stores/room-list/algorithms/Algorithm.ts @@ -508,7 +508,7 @@ export class Algorithm extends EventEmitter { if (cause === RoomUpdateCause.NewRoom) { // TODO: Be smarter and insert rather than regen the planet. await this.setKnownRooms([room, ...this.rooms]); - return; + return true; } if (cause === RoomUpdateCause.RoomRemoved) {