support migration for outbound after withheld addtition

This commit is contained in:
valere
2023-02-27 09:56:56 +01:00
parent 39997376af
commit f4d4d96c8e
@@ -677,6 +677,7 @@ pub struct PickledOutboundGroupSession {
/// The set of users the session has been already shared with.
pub shared_with_set: BTreeMap<OwnedUserId, BTreeMap<OwnedDeviceId, ShareInfo>>,
/// The set of devices the session has already been sent a withheld code.
#[serde(default)]
pub withheld_to_set: BTreeMap<OwnedUserId, BTreeMap<OwnedDeviceId, WithheldCode>>,
/// Requests that need to be sent out to share the session.
pub requests: BTreeMap<OwnedTransactionId, (Arc<ToDeviceRequest>, ShareInfoSet)>,