fix room join completion taking wrong sync branch
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -887,7 +887,7 @@ async fn calculate_state_changes(
|
|||||||
joined_since_last_sync: bool,
|
joined_since_last_sync: bool,
|
||||||
witness: Option<&Witness>,
|
witness: Option<&Witness>,
|
||||||
) -> Result<StateChanges> {
|
) -> Result<StateChanges> {
|
||||||
if since_shortstatehash.is_none() || joined_since_last_sync {
|
if since_shortstatehash.is_none() {
|
||||||
calculate_state_initial(
|
calculate_state_initial(
|
||||||
services,
|
services,
|
||||||
sender_user,
|
sender_user,
|
||||||
|
|||||||
Reference in New Issue
Block a user