Skip to content

Commit

Permalink
Took a look at MSC2088 (room-subtyping)
Browse files Browse the repository at this point in the history
  • Loading branch information
C0ffeeCode committed Aug 1, 2023
1 parent 1d169e2 commit cb34d5f
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions proposals/4036-room-organization-by-promoting-threads.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MSC436: Room oranization by promoting threads
# MSC436: Room organization by promoting threads

Sometimes, having a discussion in a busy room can be difficult.
People are often simply replying with a message event which is technically not related (`m.relates_to`) using replies (`m.in_reply_to`) or threads (`m.thread`) with the previous messages of the conversation making separation of one conversation from others difficult.
Expand All @@ -10,7 +10,7 @@ This MSC solely proposes client-side behavior.

## Proposal

Standardize a room state `m.promote_threads` (`dev.coffeeco.promote_threads` for non-finalized implementations of this MSC) with a Boolean value or an object, defaulting to `false`.
Standardize a room state `m.promote_threads` (`dev.coffeeco.MSC4036.promote_threads` for non-finalized implementations of this MSC) with a Boolean value or an object, defaulting to `false`.

The value SHOULD NOT be set to an object
but clients MUST consider an object as implicating a value of `true` (possibly with additional behavior changes)
Expand Down Expand Up @@ -56,15 +56,31 @@ The object may contain a strings,
for example to specify the label of the button to access the message input box outside the scope of a thread
(e.g. "Ask a new question", "Open a new issue").

[MSC3088: room-subtyping](https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/mutable-subtypes/proposals/3088-room-subtyping.md)
proposes specification for room purposes,
e.g. data-driven spaces or DM rooms.
The proposed behavior of this MSC could be applied to a further room purpose, a `m.discussions` (or `dev.coffeeco.MSC4036.discussions`).
E.g. like:
```json
{
"type": "m.room.purpose",
"state_key": "m.discussions",
"content": {
"m.promote_threads": true
}
}
```

## Security considerations

Not applicable

## Unstable prefix

For the proposed `m.promote_threads` state key,
the unstable `dev.coffeeco.promote_threads` shall be used.
the unstable `dev.coffeeco.MSC4036.promote_threads` shall be used.

## Dependencies

None
Potentially [MSC3088: room-subtyping](https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/mutable-subtypes/proposals/3088-room-subtyping.md),
if seen as an extension of it as depicted in the alternatives section.

0 comments on commit cb34d5f

Please sign in to comment.