From 4bd1339bf50acde75718cbe142a00189ff99a0ce Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Mon, 10 Oct 2022 19:26:59 +0300 Subject: [PATCH] experiment with removing encryption stubs --- src/routes/matrix/index.ts | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/routes/matrix/index.ts b/src/routes/matrix/index.ts index de84559..43d0704 100644 --- a/src/routes/matrix/index.ts +++ b/src/routes/matrix/index.ts @@ -393,28 +393,6 @@ router.get( } ); -router.post( - "/_matrix/client/r0/keys/query", - authenticateRoute(), - (req, res) => { - res.json({ - device_keys: {}, - fallback_keys: {}, - one_time_keys: {} - }); - } -); - -router.post( - "/_matrix/client/r0/keys/upload", - authenticateRoute(), - (req, res) => { - res.json({ - one_time_key_counts: {signed_curve25519:2000} - }); - } -); - router.get( "/_matrix/client/r0/profile/:userId", authenticateRoute(),