From ac1d5afac3bf0ec32dde09e47ddc18201e08899b Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 27 Feb 2023 13:29:03 +0100 Subject: [PATCH] doc(sdk): Improve inline documentation with link to an issue. --- crates/matrix-sdk/src/sliding_sync/mod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/matrix-sdk/src/sliding_sync/mod.rs b/crates/matrix-sdk/src/sliding_sync/mod.rs index 005e3d000..ba3b6ef6b 100644 --- a/crates/matrix-sdk/src/sliding_sync/mod.rs +++ b/crates/matrix-sdk/src/sliding_sync/mod.rs @@ -1157,6 +1157,14 @@ impl SlidingSync { ); // Send the request and get a response with end-to-end encryption support. + // + // Sending the `/sync` request out when end-to-end encryption is enabled means + // that we need to also send out any outgoing e2ee related request out + // coming from the `OlmMachine::outgoing_requests()` method. + // + // FIXME: Processing outgiong requests at the same time while a `/sync` is in + // flight is currently not supported. + // More info: [#1386](https://github.com/matrix-org/matrix-rust-sdk/issues/1386). #[cfg(feature = "e2e-encryption")] let response = { let (e2ee_uploads, response) =