mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-19 06:04:31 -04:00
encryption sync: disable the shared pos in the encryption sync
It is racy and would require a cross-process lock held during the whole flow (from creating the request to processing the response).
This commit is contained in:
@@ -102,7 +102,7 @@ impl EncryptionSyncService {
|
||||
let mut builder = client
|
||||
.sliding_sync("encryption")
|
||||
.map_err(Error::SlidingSync)?
|
||||
.share_pos()
|
||||
//.share_pos() // TODO(bnjbvr) This is racy, needs cross-process lock :')
|
||||
.with_to_device_extension(
|
||||
assign!(v4::ToDeviceConfig::default(), { enabled: Some(true)}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user