Replace MatrixClient.userHasCrossSigningKeys
by MatrixClient.getCrypto.userHasCrossSigningKeys
(#148)
This commit is contained in:
parent
07506253f9
commit
503d9004d1
2 changed files with 9 additions and 9 deletions
|
@ -426,7 +426,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
// from another device.
|
||||
promisesList.push(
|
||||
(async (): Promise<void> => {
|
||||
crossSigningIsSetUp = await cli.userHasCrossSigningKeys();
|
||||
crossSigningIsSetUp = Boolean(await cli.getCrypto()?.userHasCrossSigningKeys());
|
||||
})(),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue