fix(sync): Remove sync wake before membership commit point

This commit is contained in:
Erwan Leboucher authored and Ellis Git committed 2026-08-11 14:10:23 +00:00
1 parent 2998dc9b40
commit 7472faa096
3 files changed
+2 -12

No files matched your search

-7
View File
@@ -133,13 +133,6 @@ impl super::Service {
self.update_joined_count(room_id).await;
}
// Kick the target user's sync loop if they're local and this isn't a join to
// make sure that membership changes like invites or invite rejections get
// synced
if is_local && !matches!(membership.membership, MembershipState::Join) {
self.services.sync.wake(user_id).await;
}
Ok(())
}