Skip to main content

state_events

Function state_events 

Source
fn state_events<T, U>(room_id: &RoomId, state: &Raw<T>) -> Vec<U>
Expand description

Normalizes either supported cached leave-state representation.

Imported databases can contain one leave event where this service writes an array of state events. Both shapes are read without rewriting the row, and malformed values are logged before producing an empty vector.