Change to provider object

This commit is contained in:
J. Ryan Stinnett 2019-08-23 11:17:51 +01:00
parent e7097d58ec
commit 84e3d339ac

View file

@ -220,9 +220,7 @@ class MatrixClientPeg {
fallbackICEServerAllowed: !!SettingsStore.getValue('fallbackICEServerAllowed'),
verificationMethods: [verificationMethods.SAS],
unstableClientRelationAggregation: true,
getIdentityAccessToken: () => {
return new IdentityAuthClient().getAccessToken();
},
identityServer: new IdentityAuthClient(),
};
this.matrixClient = createMatrixClient(opts);