mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-12 16:13:57 +02:00
fix(hydra): Unable to parse backfilled incoming create events
This commit is contained in:
parent
0ae06bd43d
commit
9830f235d2
3 changed files with 44 additions and 10 deletions
|
@ -39,6 +39,7 @@ pub async fn backfill_if_required(&self, room_id: &RoomId, from: PduCount) -> Re
|
|||
.await
|
||||
{
|
||||
// Room is empty (1 user or none), there is no one that can backfill
|
||||
debug_warn!("Room {room_id} is empty, skipping backfill");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
@ -49,6 +50,7 @@ pub async fn backfill_if_required(&self, room_id: &RoomId, from: PduCount) -> Re
|
|||
|
||||
if first_pdu.0 < from {
|
||||
// No backfill required, there are still events between them
|
||||
debug!("No backfill required in room {room_id}, {:?} < {from}", first_pdu.0);
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue