fix: lost forward extremity

next
Timo Kösters 2021-04-11 10:12:29 +02:00
parent 044e65afcc
commit 588de12d79
No known key found for this signature in database
GPG Key ID: 24DA7517711A2BA4
1 changed files with 1 additions and 0 deletions

View File

@ -1010,6 +1010,7 @@ fn handle_incoming_pdu<'a>(
fork_states.insert(current_state);
// We also add state after incoming event to the fork states
extremities.insert(incoming_pdu.event_id.clone());
let mut state_after = state_at_incoming_event.clone();
if let Some(state_key) = &incoming_pdu.state_key {
state_after.insert(