Skip to main content

stored_form

Function stored_form 

Source
fn stored_form(
    value: CanonicalJsonObject,
    event_id: &EventId,
    verified: &Verified,
    room_version_rules: &RoomVersionRules,
) -> Result<CanonicalJsonObject>
Expand description

Builds the stored form of a verified event from the received one.

The event ID was derived from the received form, so nothing done here can change it.