fix room join completion taking wrong sync branch

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-01-31 08:31:58 +00:00
parent 4e0cedbe51
commit a4ef04cd14

View file

@ -887,7 +887,7 @@ async fn calculate_state_changes(
joined_since_last_sync: bool,
witness: Option<&Witness>,
) -> Result<StateChanges> {
if since_shortstatehash.is_none() || joined_since_last_sync {
if since_shortstatehash.is_none() {
calculate_state_initial(
services,
sender_user,