From 55338701ea74335f6317bedf31bbce46c6045faa Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 11 Aug 2021 14:52:43 +0100 Subject: [PATCH] Delabs Spaces, keeping it as a default-on preference for the time being --- docs/labs.md | 8 -------- src/vector/platform/ElectronPlatform.tsx | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/labs.md b/docs/labs.md index 0799ef7b50..178587bd6c 100644 --- a/docs/labs.md +++ b/docs/labs.md @@ -12,14 +12,6 @@ dropped. Ask in the room if you are unclear about any details here.** A new version of the "Report" dialog that lets users send abuse reports directly to room moderators, if the room supports it. -## Matrix Spaces [MSC1772](https://github.com/matrix-org/matrix-doc/pull/1772) support (`feature_spaces`) - -Enables showing, using, creating, and managing spaces. Create Spaces from the all new Space Panel (to left of Room List). - -Incompatible with (will disable) `feature_custom_tags`, `feature_communities_v2_prototypes` and stable Communities/Groups support. - -Still in heavy development. - ## Render LaTeX maths in messages (`feature_latex_maths`) Enables rendering of LaTeX maths in messages using [KaTeX](https://katex.org/). LaTeX between single dollar-signs is interpreted as inline maths and double dollar-signs as display maths (i.e. centred on its own line). diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index dfec829d10..ae3aed48d8 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -597,7 +597,7 @@ export default class ElectronPlatform extends VectorBasePlatform { if (!handled && // ideally we would use SpaceStore.spacesEnabled here but importing SpaceStore in this platform // breaks skinning as the platform is instantiated prior to the skin being loaded - SettingsStore.getValue("feature_spaces") && + !SettingsStore.getValue("showCommunitiesInsteadOfSpaces") && ev.code.startsWith("Digit") && isOnlyCtrlOrCmdKeyEvent(ev) ) {