Merge remote-tracking branch 'origin/develop' into develop

pull/21833/head
Weblate 2017-11-22 16:44:43 +00:00
commit da76d1eb5d
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ try {
* @returns {MatrixClient} the newly-created MatrixClient * @returns {MatrixClient} the newly-created MatrixClient
*/ */
export default function createMatrixClient(opts) { export default function createMatrixClient(opts) {
const storeOpts = {}; const storeOpts = {
useAuthorizationHeader: true,
};
if (localStorage) { if (localStorage) {
storeOpts.sessionStore = new Matrix.WebStorageSessionStore(localStorage); storeOpts.sessionStore = new Matrix.WebStorageSessionStore(localStorage);