1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-10-03 18:50:45 +00:00

fix(hydra): Tackle most open code review comments

This commit is contained in:
nexy7574 2025-09-11 20:41:48 +01:00
parent 40ebe37992
commit edb92f021b
No known key found for this signature in database
14 changed files with 105 additions and 124 deletions

View file

@ -138,7 +138,6 @@ async fn handle(
pdus: impl Stream<Item = Pdu> + Send,
edus: impl Stream<Item = Edu> + Send,
) -> Result<ResolvedMap> {
// TODO(hydra): Does having no room ID break this?
// group pdus by room
let pdus = pdus
.collect()
@ -187,7 +186,6 @@ async fn handle_room(
.lock(&room_id)
.await;
// TODO(hydra): We might be missing a room ID
let room_id = &room_id;
pdus.try_stream()
.and_then(|(_, event_id, value)| async move {