Support unprefixed versions of fallback key property names. (#11541)

This commit is contained in:
Hubert Chathi 2021-12-09 06:41:27 -05:00 committed by GitHub
parent b3bcacf3c1
commit b47d10dc46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 6 deletions

View file

@ -293,6 +293,9 @@ class SyncRestServlet(RestServlet):
response[
"org.matrix.msc2732.device_unused_fallback_key_types"
] = sync_result.device_unused_fallback_key_types
response[
"device_unused_fallback_key_types"
] = sync_result.device_unused_fallback_key_types
if joined:
response["rooms"][Membership.JOIN] = joined