mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
fix(sync): Deliver device list updates for timeline-only rooms
This commit is contained in:
1 parent
2d633a5ee1
commit
16ebb1fcf7
2 files changed
+5
-6
No files matched your search
@@ -0,0 +1 @@
|
|||||||
|
Fixed simplified sliding sync omitting device list updates for rooms with only timeline changes. Contributed by @eleboucher.
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user