mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
dismiss setup encryption toast if cross-signing is ready
This commit is contained in:
parent
5cce31b39e
commit
ee61a3aff6
1 changed files with 3 additions and 0 deletions
|
@ -165,6 +165,9 @@ export default class DeviceListener {
|
|||
props: {kind: 'upgrade_ssss'},
|
||||
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 a new issue