Set use authorizization header
This commit is contained in:
@@ -26,7 +26,10 @@ function waitForSync(client) {
|
||||
}
|
||||
|
||||
export async function initClient(clientOptions) {
|
||||
const client = matrix.createClient(clientOptions);
|
||||
const client = matrix.createClient({
|
||||
...clientOptions,
|
||||
useAuthorizationHeader: true,
|
||||
});
|
||||
|
||||
await client.startClient({
|
||||
// dirty hack to reduce chance of gappy syncs
|
||||
|
||||
Reference in New Issue
Block a user