fix: SEC12

This commit is contained in:
timedout committed 2026-06-20 15:59:50 +01:00
1 parent fb12439ce5
commit ab64662857
1 file changed
+7
+7
View File
@@ -671,6 +671,13 @@ async fn handle_edu_direct_to_device(
messages
.into_iter()
.stream()
.broad_filter_map(|(target_user_id, map)| async move {
services
.users
.is_active_local(&target_user_id)
.await
.then_some((target_user_id, map))
})
.for_each_concurrent(automatic_width(), |(target_user_id, map)| {
handle_edu_direct_to_device_user(services, target_user_id, sender, &ev_type, map)
})