feat: Track new/replaced ratchets in the results

This commit is contained in:
2023-06-20 16:27:24 +02:00
parent 3c20d8ac56
commit 49c7e114e6
7 changed files with 197 additions and 25 deletions

View File

@@ -65,4 +65,9 @@ This version is a complete rework of omemo_dart!
- Replace exceptions with errors inside a result type
- Ratchets and trust data is now loaded and cached on demand
- Accessing the trust manager must happen via `withTrustManager`
- Overriding the base implementations is replaced by providing callback functions
- Overriding the base implementations is replaced by providing callback functions
## 0.5.1
- Remove `added` and `replaced` from the data passed to the `CommitRatchetsCallback`
- Added a list of newly added and replaced ratchets to the encryption and decryption results. This is useful for displaying messages like "Contact added a new device"