Files
tuwunel/src/api/client/thirdparty.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
461 B
Rust
Raw Normal View History

use std::collections::BTreeMap;
2022-02-18 15:33:14 +01:00
use ruma::api::client::thirdparty::get_protocols;
use tuwunel_core::Result;
2020-07-30 18:14:47 +02:00
use crate::Ruma;
2020-07-30 18:14:47 +02:00
2021-08-31 19:14:37 +02:00
/// # `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<get_protocols::v3::Request>,
) -> Result<get_protocols::v3::Response> {
// TODO
Ok(get_protocols::v3::Response { protocols: BTreeMap::new() })
2020-07-30 18:14:47 +02:00
}