Expand description
Outgoing federation event formatting.
The formatter converts a canonical event object, or a stored event read by its ID, into the room-version shape expected by rumaโs outgoing federation response types.
Re-exportsยง
use futures::future::OptionFuture;๐use ruma::CanonicalJsonObject;๐use ruma::CanonicalJsonValue;๐use ruma::EventId;๐use ruma::RoomId;๐use ruma::RoomVersionId;๐use serde_json::value::RawValue as RawJsonValue;๐use serde_json::value::to_raw_value;๐use tuwunel_core::Result;๐use tuwunel_core::implement;๐use tuwunel_core::utils::result::FlatOk;๐use tuwunel_matrix::pdu;๐