Skip to content

Commit

Permalink
Clarify that threads can be created based on replies (#1687)
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Balaam <andy.balaam@matrix.org>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
  • Loading branch information
andybalaam and richvdh authored Dec 11, 2023
1 parent 3b2146c commit a843cad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1687.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that threads can be created based on replies.
8 changes: 5 additions & 3 deletions content/client-server-api/modules/threading.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ history behind a disclosure.
Threads are established using a `rel_type` of `m.thread` and reference the
*thread root* (the main timeline event to which the thread events refer). It is not possible to create a thread from an event which itself
is the child of an event relationship (i.e., one with an `m.relates_to`
property). It is therefore also not possible to nest threads. All events in a
thread reference the thread root instead of the most recent message, unlike rich
reply chains.
property with a `rel_type` property - see [Relationship types](#relationship-types)).
It is therefore also not possible to nest threads.

Unlike rich reply chains, all events in a thread reference the thread root
instead of the most recent message.

As a worked example, the following represents a thread and how it would be formed:

Expand Down

0 comments on commit a843cad

Please sign in to comment.