fix(hydra): Unable to parse backfilled incoming create events

This commit is contained in:
nexy7574 2025-09-02 01:08:53 +01:00
commit 9830f235d2
No known key found for this signature in database
3 changed files with 44 additions and 10 deletions

View file

@ -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(());
}