For https://github.com/matrix-org/matrix-js-sdk/pull/4984 Signed-off-by: Tulir Asokan <tulir@maunium.net>