You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(crypto): Add support for the shared_history flag defined in MSC3061
This patch adds support for the `shared_history` flag from MSC3061 to
the `m.room_key` content, exported room keys, and backed-up room keys.
The flag is now persisted in our `InboundGroupSession`. Additionally,
when creating a new `InboundGroupSession`, we ensure the
`shared_history` flag is set appropriately.
MSC3061: matrix-org/matrix-spec-proposals#3061
Copy file name to clipboardExpand all lines: crates/matrix-sdk-crypto/CHANGELOG.md
+11
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,17 @@ All notable changes to this project will be documented in this file.
6
6
7
7
## [Unreleased] - ReleaseDate
8
8
9
+
### Features
10
+
11
+
-[**breaking**] Add support for the shared history flag defined in [MSC3061](https://github.com/matrix-org/matrix-spec-proposals/pull/3061).
12
+
The shared history flag is now respected when room keys are received as an
13
+
`m.room_key` event as well as when they are imported from a backup or a file
14
+
export. We also ensure to set the flag when we send out room keys. Due to
15
+
this, a new argument to the constructor for `room_key::MegolmV1AesSha2Content`
16
+
has been added and `PickledInboundGroupSession` has received a new
0 commit comments