From ffa6c9b85648f1093d697ca1e0c729eda4787e1c Mon Sep 17 00:00:00 2001 From: hanadi92 Date: Mon, 8 Jan 2024 14:25:20 +0100 Subject: [PATCH 1/3] feat: add msc4028 to versions api --- synapse/rest/client/versions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synapse/rest/client/versions.py b/synapse/rest/client/versions.py index 4c5d3dba661..6bb9684e1c7 100644 --- a/synapse/rest/client/versions.py +++ b/synapse/rest/client/versions.py @@ -134,6 +134,8 @@ def on_GET(self, request: Request) -> Tuple[int, JsonDict]: "org.matrix.msc3391": self.config.experimental.msc3391_enabled, # Allows clients to inhibit profile update propagation. "org.matrix.msc4069": self.config.experimental.msc4069_profile_inhibit_propagation, + # Allows clients to handle push for encrypted events. + "org.matrix.msc4028": self.config.experimental.msc4028_push_encrypted_events, }, }, ) From a83677e27368c955e53137fc21d1f080b671b3ae Mon Sep 17 00:00:00 2001 From: hanadi92 Date: Mon, 8 Jan 2024 14:27:54 +0100 Subject: [PATCH 2/3] docs: add feature to changelog --- changelog.d/16787.feature | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/16787.feature diff --git a/changelog.d/16787.feature b/changelog.d/16787.feature new file mode 100644 index 00000000000..db011612678 --- /dev/null +++ b/changelog.d/16787.feature @@ -0,0 +1 @@ +Add msc4028 experimental feature config value to /_matrix/clients/versions api. Contributed by @hanadi92. \ No newline at end of file From 92f3646beb4f2a01a529bb56a7140099f2c56cb5 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:12:29 +0000 Subject: [PATCH 3/3] Update changelog.d/16787.feature --- changelog.d/16787.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.d/16787.feature b/changelog.d/16787.feature index db011612678..cd11e3fa5d7 100644 --- a/changelog.d/16787.feature +++ b/changelog.d/16787.feature @@ -1 +1 @@ -Add msc4028 experimental feature config value to /_matrix/clients/versions api. Contributed by @hanadi92. \ No newline at end of file +Advertise experimental support for [MSC4028](https://github.com/matrix-org/matrix-spec-proposals/pull/4028) through `/_matrix/clients/versions` if enabled. Contributed by @hanadi92. \ No newline at end of file