summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-10-27 10:19:19 -0400
committerGitHub <noreply@github.com>2021-10-27 14:19:19 +0000
commita930da3291b5b1d2375c3bd7c4a34f1588704292 (patch)
treec3437a21edcdb0a6958afa2cb5d04d05fc502689 /synapse
parentMerge remote-tracking branch 'origin/release-v1.46' into develop (diff)
downloadsynapse-a930da3291b5b1d2375c3bd7c4a34f1588704292.tar.xz
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.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/identity.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py
index 7ef8698a5e..6a315117ba 100644
--- a/synapse/handlers/identity.py
+++ b/synapse/handlers/identity.py
@@ -879,6 +879,8 @@ class IdentityHandler:
         }
 
         if room_type is not None:
+            invite_config["room_type"] = room_type
+            # TODO The unstable field is deprecated and should be removed in the future.
             invite_config["org.matrix.msc3288.room_type"] = room_type
 
         # If a custom web client location is available, include it in the request.