Removed useless code

This commit is contained in:
Valere 2021-11-30 18:00:26 +01:00
parent dc9f6b866b
commit 59b2cfa52c

View file

@ -574,9 +574,7 @@ internal class OlmMachine(
val selfSigningKey = adapter.fromJson(identity.selfSigningKey)!!.toCryptoModel().apply {
trustLevel = DeviceTrustLevel(verified, verified)
}
val userSigningKey = adapter.fromJson(identity.userSigningKey)!!.toCryptoModel().apply {
trustLevel = DeviceTrustLevel(verified, verified)
}
val userSigningKey = adapter.fromJson(identity.userSigningKey)!!.toCryptoModel()
OwnUserIdentity(
identity.userId,