matrix-org / matrix-org/matrix-spec
Return roomID when "M_ROOM_IN_USE" error
Open
Nobody has claimed this yet.
A-Client-Server
enhancement
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
When create a new room, return below error:
{
"errcode": "M_ROOM_IN_USE",
"error": "Room alias already taken"
}
I wish can return the roomID of exiting too, then I can use the exiting room directly.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the M_ROOM_IN_USE error definition and the room-creation API in the Matrix specification. Determine how the response could identify the existing room, then document the agreed response behavior and its compatibility implications.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100