mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-28 20:08:50 +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?
|
||||
mapOf(),
|
||||
UnsignedDeviceInfo(device.displayName),
|
||||
// TODO pass trust levels here
|
||||
DeviceTrustLevel(crossSigningVerified = false, locallyVerified = false),
|
||||
DeviceTrustLevel(crossSigningVerified = device.verified, locallyVerified = device.locallyVerified),
|
||||
device.isBlocked,
|
||||
// TODO
|
||||
null)
|
||||
|
|
Loading…
Reference in a new issue