mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-05-13 19:13:21 +00:00
refactor: Fix errors in api/client/thirdparty.rs
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
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() })
|
||||
// We don't support this at all
|
||||
Ok(get_protocols::v3::Response::new(BTreeMap::new()))
|
||||
}
|
||||
|
||||
/// # `GET /_matrix/client/unstable/thirdparty/protocols`
|
||||
|
||||
Reference in New Issue
Block a user