diff --git a/src/stores/room-list/algorithms/Algorithm.ts b/src/stores/room-list/algorithms/Algorithm.ts index 8574f095d6..eb6ffe6dcf 100644 --- a/src/stores/room-list/algorithms/Algorithm.ts +++ b/src/stores/room-list/algorithms/Algorithm.ts @@ -124,7 +124,11 @@ export class Algorithm extends EventEmitter { * @param val The new room to sticky. */ public setStickyRoom(val: Room) { - this.updateStickyRoom(val); + try { + this.updateStickyRoom(val); + } catch (e) { + console.warn("Failed to update sticky room", e); + } } public getTagSorting(tagId: TagID): SortAlgorithm {