crypto: Correctly pick up our device verification state
This commit is contained in:
parent
aad18ebec7
commit
948aa1a141
@ -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 New Issue
Block a user