Set use authorizization header
This commit is contained in:
parent
c609d42554
commit
bcd58aae90
1 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,10 @@ function waitForSync(client) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function initClient(clientOptions) {
|
export async function initClient(clientOptions) {
|
||||||
const client = matrix.createClient(clientOptions);
|
const client = matrix.createClient({
|
||||||
|
...clientOptions,
|
||||||
|
useAuthorizationHeader: true,
|
||||||
|
});
|
||||||
|
|
||||||
await client.startClient({
|
await client.startClient({
|
||||||
// dirty hack to reduce chance of gappy syncs
|
// dirty hack to reduce chance of gappy syncs
|
||||||
|
|
Loading…
Reference in a new issue