Add count value to the to_device iter item.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-10-27 06:53:31 +00:00
parent 8959d9e2c1
commit 6a4aff424f
3 changed files with 5 additions and 3 deletions

View File

@@ -375,6 +375,7 @@ async fn build_sync_events(
let to_device_events = services
.users
.get_to_device_events(sender_user, sender_device, Some(since), Some(next_batch))
.map(at!(1))
.collect::<Vec<_>>();
let device_one_time_keys_count = services