Skip to main content

migrate_pdus

Function migrate_pdus 

Source
pub(super) async fn migrate_pdus(services: &Services) -> Result
Expand description

Writes its room into each stored event lacking its room_id.

Runs once on every database, where a native one finds nothing: only a room version 12 create event imported from Conduit omits the field. The timeline is walked, then the outliers, and an event whose room nothing names is left as it is and counted.