crypto: Remove a stale comment.

master
Damir Jelić 2020-04-22 13:43:45 +02:00
parent 4576e93663
commit 0eab02a941
1 changed files with 0 additions and 1 deletions

View File

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