Fix some NPEs

This commit is contained in:
Michael Telatynski 2021-06-16 09:07:55 +01:00
parent b4fbc791bb
commit a75fb98fbc
2 changed files with 2 additions and 1 deletions

View file

@ -30,6 +30,7 @@ export class SpaceWatcher {
constructor(private store: RoomListStoreClass) {
if (!SettingsStore.getValue("feature_spaces.all_rooms")) {
this.filter = new SpaceFilterCondition();
this.updateFilter();
store.addFilter(this.filter);
}