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:
J. Ryan Stinnett 2020-01-21 11:33:09 +00:00
parent 8a00ff7f1f
commit a7231d7336

View file

@ -75,7 +75,7 @@ export default class DeviceListener {
if (device.deviceId == cli.deviceId) continue;
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));
} else {
ToastStore.sharedInstance().addOrReplaceToast({