mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-08 16:04:13 -04:00
refactor(crypto): Rename raw_event to processed_event to reflect its changed state
This commit is contained in:
committed by
Ivan Enderlin
parent
25d217cc6f
commit
ff52cf36dd
@@ -1602,11 +1602,11 @@ impl OlmMachine {
|
||||
}
|
||||
|
||||
for raw_event in sync_changes.to_device_events {
|
||||
let raw_event =
|
||||
let processed_event =
|
||||
Box::pin(self.receive_to_device_event(transaction, &mut changes, raw_event)).await;
|
||||
|
||||
if let Some(raw_event) = raw_event {
|
||||
events.push(raw_event);
|
||||
if let Some(processed_event) = processed_event {
|
||||
events.push(processed_event);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user