use std::collections::BTreeMap; use ruma::api::client::thirdparty::get_protocols; use crate::{Result, Ruma}; /// # `GET /_matrix/client/r0/thirdparty/protocols` /// /// TODO: Fetches all metadata about protocols supported by the homeserver. pub(crate) async fn get_protocols_route( _body: Ruma, ) -> Result { // TODO Ok(get_protocols::v3::Response { protocols: BTreeMap::new(), }) }