mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-08-27 08:29:45 +00:00
chore: Add newsfrag and re-run cargo fmt
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Fixed event tracking forgetting to mark soft-failed/rejected events as referenced, which caused a build-up of incorrectly unreferenced events, triggering frequent dummy squashes and associated state resets.
|
||||
@@ -210,7 +210,9 @@ async fn progress_state_and_extremities(
|
||||
let room_id = incoming_pdu.room_id_or_hash();
|
||||
while let Some(prev_event_id) = ancestors_todo.pop_front() {
|
||||
new_extremities.remove(&prev_event_id);
|
||||
self.services.pdu_metadata.mark_as_referenced(&room_id, once(prev_event_id.as_ref()));
|
||||
self.services
|
||||
.pdu_metadata
|
||||
.mark_as_referenced(&room_id, once(prev_event_id.as_ref()));
|
||||
let Ok(prev_event) = self.get_pdu(&prev_event_id).await else {
|
||||
continue;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user