Skip to main content

write

Function write 

Source
fn write(
    map: &Map,
    key: &[u8],
    pdu: CanonicalJsonObject,
    room_id: &RoomId,
) -> Outcome
Expand description

Writes an event back with its room.

An event whose rooted form fails to serialize is skipped.