mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-26 10:07:47 +01:00
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
From 1d3a914d447e6ccae5ad13ac4438aa979610946e Mon Sep 17 00:00:00 2001
|
|
From: SpiritCroc <dev@spiritcroc.de>
|
|
Date: Sat, 30 Nov 2024 19:42:44 +0100
|
|
Subject: Disable showing people in spaces by default
|
|
|
|
---
|
|
src/settings/Settings.tsx | 2 +-
|
|
src/stores/room-list/filters/SpaceFilterCondition.ts | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx
|
|
index 276d72cf23..4de889b562 100644
|
|
--- a/src/settings/Settings.tsx
|
|
+++ b/src/settings/Settings.tsx
|
|
@@ -1206,7 +1206,7 @@ export const SETTINGS: Settings = {
|
|
},
|
|
"Spaces.showPeopleInSpace": {
|
|
supportedLevels: [SettingLevel.ROOM_ACCOUNT],
|
|
- default: true,
|
|
+ default: false,
|
|
},
|
|
"developerMode": {
|
|
displayName: _td("devtools|developer_mode"),
|
|
diff --git a/src/stores/room-list/filters/SpaceFilterCondition.ts b/src/stores/room-list/filters/SpaceFilterCondition.ts
|
|
index 02e20e9103..2b49711c8e 100644
|
|
--- a/src/stores/room-list/filters/SpaceFilterCondition.ts
|
|
+++ b/src/stores/room-list/filters/SpaceFilterCondition.ts
|
|
@@ -25,7 +25,7 @@ import SettingsStore from "../../../settings/SettingsStore";
|
|
export class SpaceFilterCondition extends EventEmitter implements IFilterCondition, IDestroyable {
|
|
private roomIds = new Set<string>();
|
|
private userIds = new Set<string>();
|
|
- private showPeopleInSpace = true;
|
|
+ private showPeopleInSpace = false;
|
|
private space: SpaceKey = MetaSpace.Home;
|
|
|
|
public isVisible(room: Room): boolean {
|
|
--
|
|
2.48.1
|
|
|