crypto: Correctly pick up our device verification state

This commit is contained in:
Damir Jelić 2021-06-24 13:59:44 +02:00
parent aad18ebec7
commit 948aa1a141

View file

@ -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)