Use new getCrossSigningKeyId
instead of old getCrossSigningId
(#10885)
* Use new `getCrossSigningKeyId` instead of old `getCrossSigningId` * Fix type error
This commit is contained in:
parent
77d18f1a43
commit
38c13509fd
5 changed files with 15 additions and 15 deletions
|
@ -289,7 +289,7 @@ export default class DeviceListener {
|
|||
|
||||
// cross signing isn't enabled - nag to enable it
|
||||
// There are 3 different toasts for:
|
||||
if (!cli.getCrossSigningId() && cli.getStoredCrossSigningForUser(cli.getUserId()!)) {
|
||||
if (!(await crypto.getCrossSigningKeyId()) && cli.getStoredCrossSigningForUser(cli.getUserId()!)) {
|
||||
// Cross-signing on account but this device doesn't trust the master key (verify this session)
|
||||
showSetupEncryptionToast(SetupKind.VERIFY_THIS_SESSION);
|
||||
this.checkKeyBackupStatus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue