improved compatibility
improved compatibility

Signed-off-by: mjattiot <fd1a199d6a13082c257a9d2d892dca842ed07ec7@opensense.fr>

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