refactor: renames and split room.rs

This commit is contained in:
Timo Kösters
2022-06-19 22:56:14 +02:00
committed by Nyaaori
parent 92e59f14e0
commit 025b64befc
67 changed files with 278 additions and 45801 deletions

View File

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