From 5a06d60a9a909cd4b92378837a5992c01c17e135 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 26 Sep 2022 15:57:46 -0600 Subject: [PATCH] Thread bundles exclude ignored users Per implementation: https://github.com/matrix-org/synapse/pull/12235 --- proposals/3440-threading-via-relations.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/proposals/3440-threading-via-relations.md b/proposals/3440-threading-via-relations.md index af750ddf935..4ff79feaf38 100644 --- a/proposals/3440-threading-via-relations.md +++ b/proposals/3440-threading-via-relations.md @@ -51,12 +51,14 @@ would include additional information in the `unsigned` field: } ``` -* `latest_event`: The most recent event which relates to this event, with - `rel_type` of `m.thread`. +* `latest_event`: The most recent event (topologically) which relates to this event, with + `rel_type` of `m.thread`. Events sent by [ignored users](https://spec.matrix.org/v1.3/client-server-api/#ignoring-users) + are not considered for the latest event. The latest event should be serialised in the same form as the event itself; this includes adding any bundled aggregations for the event (and applying edits).[^1] -* `count`: An integer counting the number of `m.thread` events +* `count`: An integer counting the number of `m.thread` events, excluding events sent + by [ignored users](https://spec.matrix.org/v1.3/client-server-api/#ignoring-users). * `current_user_participated`: A boolean flag, which is set to `true` if the current logged in user has participated in the thread. The user has participated if: * They created the current event.