Function matrix_appservice_rs::mxc_to_url [−][src]
pub fn mxc_to_url(
homeserver_url: &Uri,
mxc_uri: &MxcUri
) -> Result<Uri, MxcConversionError>
Expand description
Convert the given MXC URI into a HTTP URL, using the given homeserver_url
as the host to the
MXC content.