diff --git a/changelog.d/16787.feature b/changelog.d/16787.feature new file mode 100644 index 00000000000..cd11e3fa5d7 --- /dev/null +++ b/changelog.d/16787.feature @@ -0,0 +1 @@ +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 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, }, }, )