fix(sync/v3): Cleanup part 1: mostly fix redundant data in state

This commit is contained in:
Ginger committed 2025-11-13 12:27:03 -05:00
1 parent 2ec771c84d
commit 1560283d79
13 files changed
+466 -426

No files matched your search

+2 -2
View File
@@ -389,7 +389,7 @@ pub(crate) async fn get_key_changes_route(
device_list_updates.extend(
services
.users
.keys_changed(sender_user, from, Some(to))
.keys_changed(sender_user, Some(from), Some(to))
.map(ToOwned::to_owned)
.collect::<Vec<_>>()
.await,
@@ -401,7 +401,7 @@ pub(crate) async fn get_key_changes_route(
device_list_updates.extend(
services
.users
.room_keys_changed(room_id, from, Some(to))
.room_keys_changed(room_id, Some(from), Some(to))
.map(|(user_id, _)| user_id)
.map(ToOwned::to_owned)
.collect::<Vec<_>>()