crypto: Add a TODO item for m.room_key.withheld messages

master
Damir Jelić 2021-03-02 16:27:24 +01:00
parent 693a0337a2
commit 6597948564
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ impl GroupSessionManager {
let (used_session, encrypted) = match encrypted { let (used_session, encrypted) = match encrypted {
Ok(c) => c, Ok(c) => c,
// TODO we'll want to create m.room_key.withheld here.
Err(OlmError::MissingSession) Err(OlmError::MissingSession)
| Err(OlmError::EventError(EventError::MissingSenderKey)) => { | Err(OlmError::EventError(EventError::MissingSenderKey)) => {
continue; continue;