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

This commit is contained in:
Erwan Leboucher authored and Ellis Git committed 2026-08-25 00:01:14 +00:00
1 parent 2d633a5ee1
commit 16ebb1fcf7
2 files changed
+5 -6

No files matched your search

+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 @@ where
.await .await
.is_ok(); .is_ok();
if let Some(since_shortstatehash) = since_shortstatehash { // Skip the state diff only: `room_keys_changed` below must run for every room.
// Skip if there are only timeline changes if let Some(since_shortstatehash) =
if since_shortstatehash == current_shortstatehash { since_shortstatehash.filter(|since| *since != current_shortstatehash)
continue; {
}
let since_encryption = services let since_encryption = services
.rooms .rooms
.state_accessor .state_accessor