fix(sync): Deliver device list updates for timeline-only rooms

This commit is contained in:
Erwan Leboucher
2026-08-25 00:01:14 +00:00
committed by Ellis Git
parent 2d633a5ee1
commit 16ebb1fcf7
2 changed files with 5 additions and 6 deletions
+1
View File
@@ -0,0 +1 @@
Fixed simplified sliding sync omitting device list updates for rooms with only timeline changes. Contributed by @eleboucher.
+4 -6
View File
@@ -1432,12 +1432,10 @@ async fn collect_e2ee<'a, Rooms>(
.await
.is_ok();
if let Some(since_shortstatehash) = since_shortstatehash {
// Skip if there are only timeline changes
if since_shortstatehash == current_shortstatehash {
continue;
}
// Skip the state diff only: `room_keys_changed` below must run for every room.
if let Some(since_shortstatehash) =
since_shortstatehash.filter(|since| *since != current_shortstatehash)
{
let since_encryption = services
.rooms
.state_accessor