Browse Source

Merge pull request #18490 from vector-im/t3chguy/fix/18088

pull/19080/head
Michael Telatynski 10 months ago committed by GitHub
parent
commit
1aa2efd2ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docs/labs.md
  2. 2
      src/vector/platform/ElectronPlatform.tsx

8
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).

2
src/vector/platform/ElectronPlatform.tsx

@ -598,7 +598,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") &&
ev.code !== "Digit0" && // this is the shortcut for reset zoom, don't override it
isOnlyCtrlOrCmdKeyEvent(ev)

Loading…
Cancel
Save