show unverified tab indicator on sidebar (#1862)

This commit is contained in:
Ajay Bura 2024-08-04 09:49:37 +05:30 committed by GitHub
parent 9cb5c70d51
commit 681287c46a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 123 additions and 33 deletions

View file

@ -106,7 +106,7 @@ export function isCrossVerified(mx, deviceId) {
const deviceInfo = mx.getStoredDevice(mx.getUserId(), deviceId);
const deviceTrust = crossSignInfo.checkDeviceTrust(crossSignInfo, deviceInfo, false, true);
return deviceTrust.isCrossSigningVerified();
} catch {
} catch (e) {
// device does not support encryption
return null;
}