fix room join completion taking wrong sync branch

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-01-31 22:46:26 +00:00
1 parent 4e0cedbe51
commit a4ef04cd14
1 file changed
+1 -1
+1 -1
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,