mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-14 11:05:32 -04:00
feat(encryption sync): restore the stream position from the database
This commit is contained in:
@@ -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)}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user