don't include an empty signatures field when calculating the signature
don't include an empty signatures field when calculating the signature

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