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'), fallbackICEServerAllowed: !!SettingsStore.getValue('fallbackICEServerAllowed'),
verificationMethods: [verificationMethods.SAS], verificationMethods: [verificationMethods.SAS],
unstableClientRelationAggregation: true, unstableClientRelationAggregation: true,
getIdentityAccessToken: () => { identityServer: new IdentityAuthClient(),
return new IdentityAuthClient().getAccessToken();
},
}; };
this.matrixClient = createMatrixClient(opts); this.matrixClient = createMatrixClient(opts);