You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user