Remove support for the unstable identifier from MSC3288. (#12398)

This commit is contained in:
Patrick Cloke 2022-04-06 13:27:46 -04:00 committed by GitHub
parent 2cf74cf2fc
commit 05a37f4008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

1
changelog.d/12398.misc Normal file
View File

@ -0,0 +1 @@
Remove support for the unstable identifiers specified in [MSC3288](https://github.com/matrix-org/matrix-doc/pull/3288).

View File

@ -858,8 +858,6 @@ class IdentityHandler:
if room_type is not None: if room_type is not None:
invite_config["room_type"] = room_type 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. # If a custom web client location is available, include it in the request.
if self._web_client_location: if self._web_client_location: