diff --git a/crates/matrix-sdk-crypto/src/olm/group_sessions/outbound.rs b/crates/matrix-sdk-crypto/src/olm/group_sessions/outbound.rs index 8e6d94101..94d04f6f7 100644 --- a/crates/matrix-sdk-crypto/src/olm/group_sessions/outbound.rs +++ b/crates/matrix-sdk-crypto/src/olm/group_sessions/outbound.rs @@ -677,6 +677,7 @@ pub struct PickledOutboundGroupSession { /// The set of users the session has been already shared with. pub shared_with_set: BTreeMap>, /// The set of devices the session has already been sent a withheld code. + #[serde(default)] pub withheld_to_set: BTreeMap>, /// Requests that need to be sent out to share the session. pub requests: BTreeMap, ShareInfoSet)>,