Set up jig for testing Matrix 2.0

This commit is contained in:
Johannes Marbach
2026-10-07 16:16:21 +02:00
parent 2faa6c3dac
commit 5d34f57567
10 changed files with 92 additions and 4 deletions
+8
View File
@@ -46,3 +46,11 @@ Valid values are `compatibility` and `matrix_2_0`; an invalid value is
ignored (with a warning) and the user's choice applies. Pinning `matrix_2_0` on a
homeserver without sticky event support makes joining fail with a "sticky events
required" error.
A build can change the default mode, for setups without a `config.json` by setting
`VITE_MATRIX_RTC_MODE` at build time:
```sh
VITE_MATRIX_RTC_MODE=matrix_2_0 pnpm build:embedded
```