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

Leave room with unknown room version #15785

Open
matrixbot opened this issue Dec 21, 2023 · 1 comment
Open

Leave room with unknown room version #15785

matrixbot opened this issue Dec 21, 2023 · 1 comment

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 21, 2023

This issue has been migrated from #15785.


Background

Synapse currently only supports leaving a room with a supported/known room version. This means you can get stuck in rooms with experimental room versions which are later dropped from Synapse.

If you try to leave a room with a room version that is no longer supported, the /leave request gives a 400 error with M_UNSUPPORTED_ROOM_VERSION

{
  "errcode": "M_UNSUPPORTED_ROOM_VERSION",
  "error": "Room !abc uses a room version org.matrix.mscxxx.test which is no longer supported"
}

The technical reason behind not being able to leave is that Synapse doesn't know how to resolve state in those rooms. Perhaps the spec needs some fallback mechanism for users wanting to escape or we can just make some assumptions and do our best effort at sending a leave.

What would you like to do?

Leave room with unknown/unsupported room version


Related issues:

@matrixbot matrixbot changed the title Dummy issue Leave room with unknown room version Dec 22, 2023
@matrixbot matrixbot reopened this Dec 22, 2023
@richvdh
Copy link
Member

richvdh commented Aug 15, 2024

Given that, since matrix-org/synapse#10644, such rooms no longer appear in the /sync response, how much does this actually matter? You have to force a client cache update to get rid of the room, but that doesn't seem too bad, since (presumably) if you were using an experimental room version you're a developer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants