diff --git a/src/utils/createMatrixClient.js b/src/utils/createMatrixClient.js index 2d294e262b..5f88e1fda3 100644 --- a/src/utils/createMatrixClient.js +++ b/src/utils/createMatrixClient.js @@ -39,7 +39,9 @@ try { * @returns {MatrixClient} the newly-created MatrixClient */ export default function createMatrixClient(opts) { - const storeOpts = {}; + const storeOpts = { + useAuthorizationHeader: true, + }; if (localStorage) { storeOpts.sessionStore = new Matrix.WebStorageSessionStore(localStorage);