mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-11 01:13:46 +01:00
Incomplete predicate in RealmCryptoStore#getOutgoingRoomKeyRequest (#1519)
This commit is contained in:
parent
af8ab57e60
commit
057c21f7d0
@ -9,6 +9,7 @@ Improvements 🙌:
|
||||
|
||||
Bugfix 🐛:
|
||||
- Fix dark theme issue on login screen (#1097)
|
||||
- Incomplete predicate in RealmCryptoStore#getOutgoingRoomKeyRequest (#1519)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
@ -897,9 +897,9 @@ internal class RealmCryptoStore @Inject constructor(
|
||||
it.toOutgoingGossipingRequest() as? OutgoingRoomKeyRequest
|
||||
}.firstOrNull {
|
||||
it.requestBody?.algorithm == requestBody.algorithm
|
||||
it.requestBody?.roomId == requestBody.roomId
|
||||
it.requestBody?.senderKey == requestBody.senderKey
|
||||
it.requestBody?.sessionId == requestBody.sessionId
|
||||
&& it.requestBody?.roomId == requestBody.roomId
|
||||
&& it.requestBody?.senderKey == requestBody.senderKey
|
||||
&& it.requestBody?.sessionId == requestBody.sessionId
|
||||
}
|
||||
}
|
||||
|
||||
@ -1266,7 +1266,7 @@ internal class RealmCryptoStore @Inject constructor(
|
||||
deviceInfoEntity.trustLevelEntity = it
|
||||
}
|
||||
} else {
|
||||
locallyVerified?.let { trustEntity.locallyVerified = it }
|
||||
locallyVerified?.let { trustEntity.locallyVerified = it }
|
||||
trustEntity.crossSignedVerified = crossSignedVerified
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user