Show devices without encryption support separately from unverified session (#499)
* Show devices without encryption support separately * Fix typo * Don't show sessions without encryption support in red
This commit is contained in:
parent
b7c5902f67
commit
3da9b70632
3 changed files with 19 additions and 5 deletions
src/util
|
@ -171,7 +171,8 @@ export function isCrossVerified(deviceId) {
|
|||
const deviceTrust = crossSignInfo.checkDeviceTrust(crossSignInfo, deviceInfo, false, true);
|
||||
return deviceTrust.isCrossSigningVerified();
|
||||
} catch {
|
||||
return false;
|
||||
// device does not support encryption
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue