mirror of
https://github.com/element-hq/element-android
synced 2024-12-21 00:42:04 +03:00
crypto: Correctly pick up our device verification state
This commit is contained in:
parent
aad18ebec7
commit
948aa1a141
1 changed files with 1 additions and 2 deletions
|
@ -112,8 +112,7 @@ private fun toCryptoDeviceInfo(device: Device): CryptoDeviceInfo {
|
||||||
// Kotlin side care about signatures?
|
// Kotlin side care about signatures?
|
||||||
mapOf(),
|
mapOf(),
|
||||||
UnsignedDeviceInfo(device.displayName),
|
UnsignedDeviceInfo(device.displayName),
|
||||||
// TODO pass trust levels here
|
DeviceTrustLevel(crossSigningVerified = device.verified, locallyVerified = device.locallyVerified),
|
||||||
DeviceTrustLevel(crossSigningVerified = false, locallyVerified = false),
|
|
||||||
device.isBlocked,
|
device.isBlocked,
|
||||||
// TODO
|
// TODO
|
||||||
null)
|
null)
|
||||||
|
|
Loading…
Reference in a new issue