mirror of https://github.com/vector-im/riot-web
Merge pull request #4336 from matrix-org/bwindels/fixverifytoastaftercompletesecurity
Fix: dismiss setup encryption toast if cross-signing is readypull/21833/head
commit
9407df3da0
|
@ -165,6 +165,9 @@ export default class DeviceListener {
|
||||||
props: {kind: 'upgrade_ssss'},
|
props: {kind: 'upgrade_ssss'},
|
||||||
component: sdk.getComponent("toasts.SetupEncryptionToast"),
|
component: sdk.getComponent("toasts.SetupEncryptionToast"),
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
// cross-signing is ready, and we don't need to upgrade encryption
|
||||||
|
ToastStore.sharedInstance().dismissToast(THIS_DEVICE_TOAST_KEY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue