fix: lost forward extremity
This commit is contained in:
		
							parent
							
								
									044e65afcc
								
							
						
					
					
						commit
						588de12d79
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1010,6 +1010,7 @@ fn handle_incoming_pdu<'a>( | ||||||
|         fork_states.insert(current_state); |         fork_states.insert(current_state); | ||||||
| 
 | 
 | ||||||
|         // We also add state after incoming event to the fork states
 |         // 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(); |         let mut state_after = state_at_incoming_event.clone(); | ||||||
|         if let Some(state_key) = &incoming_pdu.state_key { |         if let Some(state_key) = &incoming_pdu.state_key { | ||||||
|             state_after.insert( |             state_after.insert( | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue