From 6597948564bcfc8c859e3205e446f649957108fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 2 Mar 2021 16:27:24 +0100 Subject: [PATCH] crypto: Add a TODO item for m.room_key.withheld messages --- matrix_sdk_crypto/src/session_manager/group_sessions.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix_sdk_crypto/src/session_manager/group_sessions.rs b/matrix_sdk_crypto/src/session_manager/group_sessions.rs index 115c992e..a4085d45 100644 --- a/matrix_sdk_crypto/src/session_manager/group_sessions.rs +++ b/matrix_sdk_crypto/src/session_manager/group_sessions.rs @@ -184,6 +184,7 @@ impl GroupSessionManager { let (used_session, encrypted) = match encrypted { Ok(c) => c, + // TODO we'll want to create m.room_key.withheld here. Err(OlmError::MissingSession) | Err(OlmError::EventError(EventError::MissingSenderKey)) => { continue;