Refactor to async closures.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-07-24 04:07:27 +00:00
1 parent cca0f20148
commit c8d35cca57
36 files changed
+78 -80

No files matched your search

+1 -1
View File
@@ -492,7 +492,7 @@ impl Service {
.state_cache
.server_rooms(server_name)
.map(ToOwned::to_owned)
.broad_filter_map(|room_id| async move {
.broad_filter_map(async |room_id| {
let receipt_map = self
.select_edus_receipts_room(&room_id, since, max_edu_count, &mut num)
.await;