mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-24 00:01:23 +01:00
Merge pull request #1365 from vector-im/feature/fix_crash_1364
Fix crash 1364
This commit is contained in:
commit
1e2b5dd428
@ -12,6 +12,7 @@ Improvements 🙌:
|
||||
Bugfix 🐛:
|
||||
- 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)
|
||||
- Random Crashes while doing sth with cross signing keys (#1364)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
@ -1406,7 +1406,7 @@ internal class RealmCryptoStore @Inject constructor(
|
||||
} else {
|
||||
// Just override existing, caller should check and untrust id needed
|
||||
val existing = CrossSigningInfoEntity.getOrCreate(realm, userId)
|
||||
existing.crossSigningKeys.forEach { it.deleteFromRealm() }
|
||||
existing.crossSigningKeys.deleteAllFromRealm()
|
||||
existing.crossSigningKeys.addAll(
|
||||
info.crossSigningKeys.map {
|
||||
crossSigningKeysMapper.map(it)
|
||||
|
Loading…
Reference in New Issue
Block a user