If there are extraParams set, ensure that queryParams is defined
If there are extraParams set, ensure that queryParams is defined

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