Fixes https://github.com/vector-im/riot-web/issues/10926 Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3454/files Class introduced in https://github.com/matrix-org/matrix-react-sdk/pull/2994