mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-07 23:44:53 -04:00
review: quick doc improvements
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user