matrix-org / matrix-org/matrix-spec
Changing 1 room as Direct Chat, the API requires me to pass ALL the rooms which are Direct Chat
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
When I change a Group to Direct Chat via API, it looks like I need to pass ALL the rooms which are Direct Chats as Parameters. This does not sound right. Why would I need to pass ALL the rooms and IDs for changing 1 Room to Direct Chat.
Direct Chat "Accept" also does the same thing looks like
example I have A,B,C,D as Direct Chat and X,Y,Z as Rooms/Groups. When I change X to Direct Chat, I have to pass A,B,C,D,X to make just X as a Direct Chat
This is not right. We need to change the API.
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 reviewing the Matrix API definitions for changing a room to Direct Chat and for Direct Chat acceptance, including how the current room and direct-chat IDs are represented. Done means the specification defines a way to change or accept one room without passing every existing Direct Chat, with the affected request examples updated.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100