refactor: Make stream utils generic over the error type

This commit is contained in:
Jade Ellis authored and timedout committed 2026-02-23 16:36:46 +00:00
1 parent 6637e4c6a7
commit 47e2733ea1
4 files changed
+11 -12

No files matched your search

+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());