Merge branch 'main' into matroska

This commit is contained in:
Robin Townsend 2022-07-15 14:34:50 -04:00
commit 3fc8fe505b
11 changed files with 180 additions and 55 deletions

View file

@ -117,12 +117,15 @@ export const ClientProvider: FC<Props> = ({ children }) => {
session;
logger.log("Using a standalone client");
const client = await initClient({
baseUrl: defaultHomeserver,
accessToken: access_token,
userId: user_id,
deviceId: device_id,
});
const client = await initClient(
{
baseUrl: defaultHomeserver,
accessToken: access_token,
userId: user_id,
deviceId: device_id,
},
true
);
/* eslint-enable camelcase */
return { client, isPasswordlessUser: passwordlessUser };