We should find a better way to do this, but this works well enough.
Fixes https://github.com/vector-im/riot-web/issues/12187