matrix-org / matrix-org/matrix-spec

`is_direct` field on `/createRoom` body does not automatically mark the room as a DM

Open
#1,692 4 comments 0 reactions 0 assignees View on GitHub
wart
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

**Link to problem area**: https://spec.matrix.org/v1.9/client-server-api/#creation and https://spec.matrix.org/v1.9/client-server-api/#direct-messaging

**Issue**
I naively expected that passing this flag to /createRoom would automatically mark the created room as a DM in the creator's account data. This seems not to be the case: the referenced bits of the spec mainly talk about propagating the `is_direct` flag to invitees.

(Might be appropriate to close this as WONTFIX if this doesn't bother today's clients, and if canonical DMs will fix it.)

Contributor guide

Open the contributing guide

Research direction

Read the Matrix Client-Server API sections for room creation and direct messaging linked in the issue, focusing on the meaning of is_direct and creator account data. Determine whether the specification should require this behavior or explicitly document that it does not, then update the relevant specification text and any applicable examples or tests.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.