From f4d4d96c8e71d922dfcdfe8620a28d5c193333a9 Mon Sep 17 00:00:00 2001 From: valere Date: Mon, 27 Feb 2023 09:56:56 +0100 Subject: [PATCH] support migration for outbound after withheld addtition --- crates/matrix-sdk-crypto/src/olm/group_sessions/outbound.rs | 1 + 1 file changed, 1 insertion(+) 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)>,