mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 14:14:56 -04:00
Remove unspecced DELETE endpoint that modifies room visibility (#13123)
This commit is contained in:
parent
1017f09c18
commit
6b99a66fe0
2 changed files with 1 additions and 11 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue