From cb34d5fdcb20895bd108774a2f7bda021849ad6d Mon Sep 17 00:00:00 2001 From: C0ffeeCode Date: Tue, 1 Aug 2023 13:59:56 +0200 Subject: [PATCH] Took a look at MSC2088 (room-subtyping) --- ...-room-organization-by-promoting-threads.md | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/proposals/4036-room-organization-by-promoting-threads.md b/proposals/4036-room-organization-by-promoting-threads.md index d31499578c9..cac9485f0c2 100644 --- a/proposals/4036-room-organization-by-promoting-threads.md +++ b/proposals/4036-room-organization-by-promoting-threads.md @@ -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. @@ -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) @@ -56,6 +56,21 @@ 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 @@ -63,8 +78,9 @@ 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.