From e50e24e22d30d6d2d331b823f207bdec6306fe05 Mon Sep 17 00:00:00 2001 From: Ginger Date: Sun, 12 Apr 2026 10:46:48 -0400 Subject: [PATCH] refactor: Fix errors in `api/client/thirdparty.rs` --- src/api/client/thirdparty.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/client/thirdparty.rs b/src/api/client/thirdparty.rs index 0713a8823..336931c97 100644 --- a/src/api/client/thirdparty.rs +++ b/src/api/client/thirdparty.rs @@ -11,8 +11,8 @@ pub(crate) async fn get_protocols_route( _body: Ruma, ) -> Result { - // 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`