review: quick doc improvements

This commit is contained in:
Valere
2025-04-18 14:33:55 +02:00
committed by Damir Jelić
parent b27770801c
commit f89150d3ee
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ async fn process(
let events = events
.iter()
// XXX There is loss of information here, after calling `to_raw` it is not
// TODO: There is loss of information here, after calling `to_raw` it is not
// possible to make the difference between a successfully decrypted event and a plain
// text event. This information needs to be propagated to top layer at some point if
// clients relies on custom encrypted to device events.

View File

@@ -1474,7 +1474,7 @@ impl OlmMachine {
.garbage_collect()
.iter()
// These are `fake` to device events just serving as local echo
// in order for own client to react quickly to cancelled transaction.
// in order that our own client can react quickly to cancelled transaction.
// Just use PlainText for that.
.map(|e| ProcessedToDeviceEvent::PlainText(e.clone()))
.collect();