Fix https://github.com/matrix-org/matrix-js-sdk/pull/792
Fix https://github.com/matrix-org/matrix-js-sdk/pull/792

matrix-org/matrix-js-sdk,krombel/matrix-js-sdk,matrix-org/matrix-js-sdk,matrix-org/matrix-js-sdk,krombel/matrix-js-sdk,matrix-org/matrix-js-sdk,krombel/matrix-js-sdk