crypto: Remove a stale comment about clearing private keys from events.

master
Damir Jelić 2020-07-15 13:07:48 +02:00
parent fa0a22b090
commit 83806b42e9
1 changed files with 0 additions and 2 deletions

View File

@ -1150,8 +1150,6 @@ impl OlmMachine {
} }
}; };
// TODO make sure private keys are cleared from the event
// before we replace the result.
*event_result = decrypted_event; *event_result = decrypted_event;
} }
AnyToDeviceEvent::RoomKeyRequest(e) => self.handle_room_key_request(e), AnyToDeviceEvent::RoomKeyRequest(e) => self.handle_room_key_request(e),