mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 06:53:01 +02:00
feat(hydra): Initial public commit for v12 support
This commit is contained in:
parent
1bc663e1c8
commit
acde010fde
59 changed files with 954 additions and 397 deletions
|
@ -138,6 +138,7 @@ 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()
|
||||
|
@ -186,6 +187,7 @@ 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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue