mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-08-27 08:29:45 +00:00
fix(sync): Deliver device list updates for timeline-only rooms
This commit is contained in:
committed by
Ellis Git
parent
2d633a5ee1
commit
16ebb1fcf7
@@ -0,0 +1 @@
|
||||
Fixed simplified sliding sync omitting device list updates for rooms with only timeline changes. Contributed by @eleboucher.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user