New session toast should check cross-signing verification
To ensure all your sessions are cross-signing verified, we use the more specific test for only that kind of verification in the new session toast.
This commit is contained in:
parent
8a00ff7f1f
commit
a7231d7336
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export default class DeviceListener {
|
||||||
if (device.deviceId == cli.deviceId) continue;
|
if (device.deviceId == cli.deviceId) continue;
|
||||||
|
|
||||||
const deviceTrust = await cli.checkDeviceTrust(cli.getUserId(), device.deviceId);
|
const deviceTrust = await cli.checkDeviceTrust(cli.getUserId(), device.deviceId);
|
||||||
if (deviceTrust.isVerified() || this._dismissed.has(device.deviceId)) {
|
if (deviceTrust.isCrossSigningVerified() || this._dismissed.has(device.deviceId)) {
|
||||||
ToastStore.sharedInstance().dismissToast(toastKey(device));
|
ToastStore.sharedInstance().dismissToast(toastKey(device));
|
||||||
} else {
|
} else {
|
||||||
ToastStore.sharedInstance().addOrReplaceToast({
|
ToastStore.sharedInstance().addOrReplaceToast({
|
||||||
|
|
Loading…
Reference in a new issue