mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Fix crash 1364
This commit is contained in:
parent
074a9e9f29
commit
8d32c27ce0
@ -12,6 +12,7 @@ Improvements 🙌:
|
|||||||
Bugfix 🐛:
|
Bugfix 🐛:
|
||||||
- Fix | Verify Manually by Text crashes if private SSK not known (#1337)
|
- Fix | Verify Manually by Text crashes if private SSK not known (#1337)
|
||||||
- Sometimes the same device appears twice in the list of devices of a user (#1329)
|
- Sometimes the same device appears twice in the list of devices of a user (#1329)
|
||||||
|
- Random Crashes while doing sth with cross signing keys (#1364)
|
||||||
|
|
||||||
Translations 🗣:
|
Translations 🗣:
|
||||||
-
|
-
|
||||||
|
@ -1406,7 +1406,7 @@ internal class RealmCryptoStore @Inject constructor(
|
|||||||
} else {
|
} else {
|
||||||
// Just override existing, caller should check and untrust id needed
|
// Just override existing, caller should check and untrust id needed
|
||||||
val existing = CrossSigningInfoEntity.getOrCreate(realm, userId)
|
val existing = CrossSigningInfoEntity.getOrCreate(realm, userId)
|
||||||
existing.crossSigningKeys.forEach { it.deleteFromRealm() }
|
existing.crossSigningKeys.deleteAllFromRealm()
|
||||||
existing.crossSigningKeys.addAll(
|
existing.crossSigningKeys.addAll(
|
||||||
info.crossSigningKeys.map {
|
info.crossSigningKeys.map {
|
||||||
crossSigningKeysMapper.map(it)
|
crossSigningKeysMapper.map(it)
|
||||||
|
Loading…
Reference in New Issue
Block a user