refactor: Make stream utils generic over the error type

This commit is contained in:
Jade Ellis
2026-02-22 01:10:11 +00:00
committed by timedout
parent 6637e4c6a7
commit 47e2733ea1
4 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ async fn get_auth_chain_outer(
let chunk_cache: Vec<_> = chunk
.into_iter()
.try_stream()
.try_stream::<conduwuit::Error>()
.broad_and_then(|(shortid, event_id)| async move {
if let Ok(cached) = self.get_cached_eventid_authchain(&[shortid]).await {
return Ok(cached.to_vec());