diff options
author | santhoshivan23 <47689668+santhoshivan23@users.noreply.github.com> | 2022-06-28 16:52:59 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-28 11:22:59 +0000 |
commit | 6b99a66fe0260682fa95a0b19d3bee19c1e48876 (patch) | |
tree | 376c0c30467ef44d7c04517767bf4a84f56f089b /synapse/rest/client | |
parent | Update MSC3786 implementation: Check the `state_key` (#12939) (diff) | |
download | synapse-6b99a66fe0260682fa95a0b19d3bee19c1e48876.tar.xz |
Remove unspecced DELETE endpoint that modifies room visibility (#13123)
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/directory.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/synapse/rest/client/directory.py b/synapse/rest/client/directory.py index d6c89cb162..bc1b18c92d 100644 --- a/synapse/rest/client/directory.py +++ b/synapse/rest/client/directory.py @@ -151,17 +151,6 @@ class ClientDirectoryListServer(RestServlet): return 200, {} - async def on_DELETE( - self, request: SynapseRequest, room_id: str - ) -> Tuple[int, JsonDict]: - requester = await self.auth.get_user_by_req(request) - - await self.directory_handler.edit_published_room_list( - requester, room_id, "private" - ) - - return 200, {} - class ClientAppserviceDirectoryListServer(RestServlet): PATTERNS = client_patterns( |