feat(encryption sync): restore the stream position from the database

This commit is contained in:
Benjamin Bouvier
2023-08-24 14:20:27 +02:00
parent 08b9f0640c
commit 6b84d03e2f

View File

@@ -80,6 +80,7 @@ impl EncryptionSync {
let mut builder = client
.sliding_sync("encryption")
.map_err(Error::SlidingSync)?
.restore_pos_from_database()
.with_to_device_extension(
assign!(v4::ToDeviceConfig::default(), { enabled: Some(true)}),
)