Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit a930da3

Browse files
authored
Include the stable identifier for MSC3288. (#11187)
Includes both the stable and unstable identifier to store-invite calls to the identity server. In the future we should remove the unstable identifier.
1 parent 179dc8a commit a930da3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog.d/11187.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Support the stable room type field for [MSC3288](https://github.com/matrix-org/matrix-doc/pull/3288).

synapse/handlers/identity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,8 @@ async def ask_id_server_for_third_party_invite(
879879
}
880880

881881
if room_type is not None:
882+
invite_config["room_type"] = room_type
883+
# TODO The unstable field is deprecated and should be removed in the future.
882884
invite_config["org.matrix.msc3288.room_type"] = room_type
883885

884886
# If a custom web client location is available, include it in the request.

0 commit comments

Comments
 (0)