This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Synapse supports unspecced DELETE /directory/list/room/<room ID> endpoint #13111
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-Spec-Complianceplaces where synapse does not conform to the specplaces where synapse does not conform to the specP4(OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patches(OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patchesT-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Description
Synapse supports a DELETE /directory/list/room/<room ID> endpoint which appears to be unspecced. (It's specced with GET and PUT).
synapse/synapse/rest/client/directory.py
Lines 157 to 166 in e24ff8e
| 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, {} |
Originally posted by @DMRobertson in #13102 (comment)
DELETE is a shortcut for PUTting private visibility. I'd like to either spec it or remove it.
Metadata
Metadata
Assignees
Labels
A-Spec-Complianceplaces where synapse does not conform to the specplaces where synapse does not conform to the specP4(OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patches(OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patchesT-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.