Note to self, mostly. See https://github.com/vector-im/riot-web/issues/8668 and https://github.com/vector-im/riot-web/issues/8669