Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace shutdown_room API with delete_room #96

Closed
wants to merge 1 commit into from
Closed

Replace shutdown_room API with delete_room #96

wants to merge 1 commit into from

Conversation

dklimpel
Copy link

Fixes: #76

I am was not sure how to do the local unit tests.
I hope it helps to fix the issue.

Signed-off-by: Dirk Klimpel [email protected]

@Yoric
Copy link
Contributor

Yoric commented Jul 28, 2021

If I read the documentation correctly, the API we need to use is DELETE /_synapse/admin/v1/rooms/<room_id>, which isn't the API used in this patch.

Also, I suspect that we need a message.

Yoric added a commit that referenced this pull request Jul 28, 2021
…id> - Resolves #76, closes #96

As per matrix-org/synapse#9052, shutdown_room is going away, to be replaced with DELETE /_synapse/admin/v1/rooms/<room_id>.
@dklimpel
Copy link
Author

The reason is, that the patch is older than the last changes at the API.

@Yoric
Copy link
Contributor

Yoric commented Jul 28, 2021

The reason is, that the patch is older than the last changes at the API.

That makes sense :)

@dklimpel
Copy link
Author

I close it in preference to #117

@dklimpel dklimpel closed this Jul 28, 2021
Yoric added a commit that referenced this pull request Aug 17, 2021
…id> - Resolves #76, closes #96

As per matrix-org/synapse#9052, shutdown_room is going away, to be replaced with DELETE /_synapse/admin/v1/rooms/<room_id>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace shutdown_room and purge_room APIs with delete_room
2 participants