crypto: Remove a stale comment.

This commit is contained in:
Damir Jelić 2020-04-22 13:43:45 +02:00
parent 4576e93663
commit 0eab02a941

View file

@ -841,7 +841,6 @@ impl OlmMachine {
async fn add_room_key(&mut self, sender_key: &str, event: &mut ToDeviceRoomKey) -> Result<()> {
match event.content.algorithm {
Algorithm::MegolmV1AesSha2 => {
// TODO check for all the valid fields.
let signing_key = event
.keys
.get("ed25519")