From cf0bb4676a698dcf92e2120fb883eef204e8ad3c Mon Sep 17 00:00:00 2001 From: fkwp Date: Tue, 3 Dec 2024 16:51:14 +0100 Subject: [PATCH 1/5] add information about MSC4222 state_after --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a0af77fc..ba845e09 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,9 @@ work: experimental_features: # MSC3266: Room summary API. Used for knocking over federation msc3266_enabled: true + # MSC4422 needed for syncv2 state_after. This allow clients to + # correctly track the state of the room. + msc4222_enabled: true # The maximum allowed duration by which sent events can be delayed, as # per MSC4140. @@ -109,6 +112,10 @@ summary contains the room join rules. We need that to decide if the user gets prompted with the option to knock ("Request to join call"), a cannot join error or the join view. +MSC4422 allow clients to opt-in to a change of the sync v2 API that allows them +to correctly track the state of the room. This is required by Element Call to +track room state reliably. + Element Call requires a Livekit SFU alongside a [Livekit JWT service](https://github.com/element-hq/lk-jwt-service) to work. The url to the Livekit JWT service can either be configured in the config of Element Call From 5e449bd03ffd956bd42c393199b2bcba458a8056 Mon Sep 17 00:00:00 2001 From: fkwp Date: Tue, 3 Dec 2024 16:54:28 +0100 Subject: [PATCH 2/5] typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ba845e09..233c4bcd 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ work: experimental_features: # MSC3266: Room summary API. Used for knocking over federation msc3266_enabled: true - # MSC4422 needed for syncv2 state_after. This allow clients to + # MSC4222 needed for syncv2 state_after. This allow clients to # correctly track the state of the room. msc4222_enabled: true @@ -112,7 +112,7 @@ summary contains the room join rules. We need that to decide if the user gets prompted with the option to knock ("Request to join call"), a cannot join error or the join view. -MSC4422 allow clients to opt-in to a change of the sync v2 API that allows them +MSC4222 allow clients to opt-in to a change of the sync v2 API that allows them to correctly track the state of the room. This is required by Element Call to track room state reliably. From 44e5d2ea91c8b06aaca0c1f7d81ad977817222e9 Mon Sep 17 00:00:00 2001 From: fkwp Date: Tue, 3 Dec 2024 16:54:37 +0100 Subject: [PATCH 3/5] add MSC4222 --- backend/dev_homeserver.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/dev_homeserver.yaml b/backend/dev_homeserver.yaml index b41de45b..b1800b59 100644 --- a/backend/dev_homeserver.yaml +++ b/backend/dev_homeserver.yaml @@ -25,6 +25,9 @@ trusted_key_servers: experimental_features: # MSC3266: Room summary API. Used for knocking over federation msc3266_enabled: true + # MSC4222 needed for syncv2 state_after. This allow clients to + # correctly track the state of the room. + msc4222_enabled: true # The maximum allowed duration by which sent events can be delayed, as # per MSC4140. Must be a positive value if set. Defaults to no From 260a1df21ba748bceb7502ea8f8c061395438eec Mon Sep 17 00:00:00 2001 From: fkwp Date: Tue, 3 Dec 2024 16:55:30 +0100 Subject: [PATCH 4/5] linting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 233c4bcd..25155152 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ work: experimental_features: # MSC3266: Room summary API. Used for knocking over federation msc3266_enabled: true - # MSC4222 needed for syncv2 state_after. This allow clients to + # MSC4222 needed for syncv2 state_after. This allow clients to # correctly track the state of the room. msc4222_enabled: true From 3495f5b47269b586d67e019fee615c3681f6bbb3 Mon Sep 17 00:00:00 2001 From: fkwp Date: Tue, 3 Dec 2024 16:57:53 +0100 Subject: [PATCH 5/5] linting --- backend/dev_homeserver.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/dev_homeserver.yaml b/backend/dev_homeserver.yaml index b1800b59..5697c32e 100644 --- a/backend/dev_homeserver.yaml +++ b/backend/dev_homeserver.yaml @@ -25,7 +25,7 @@ trusted_key_servers: experimental_features: # MSC3266: Room summary API. Used for knocking over federation msc3266_enabled: true - # MSC4222 needed for syncv2 state_after. This allow clients to + # MSC4222 needed for syncv2 state_after. This allow clients to # correctly track the state of the room. msc4222_enabled: true