This issue has been migrated from [#6287](https://github.com/matrix-org/synapse/issues/6287). --- https://github.com/matrix-org/matrix-doc/pull/2228