fix: state bug

This commit is contained in:
Timo Kösters
2021-07-20 23:36:03 +02:00
parent 80533bfab2
commit f121978897
2 changed files with 7 additions and 13 deletions

View File

@@ -1058,6 +1058,8 @@ pub fn handle_incoming_pdu<'a>(
if let Some(state_key) = &prev_pdu.state_key {
state.insert((prev_pdu.kind.clone(), state_key.clone()), prev_pdu);
}
state_at_incoming_event = Some(state);
}
// TODO: set incoming_auth_events?
}