summary refs log tree commit diff
path: root/tests/push
diff options
context:
space:
mode:
authorEric Eastwood <eric.eastwood@beta.gouv.fr>2024-07-17 13:10:15 -0500
committerGitHub <noreply@github.com>2024-07-17 13:10:15 -0500
commit3fee32ed6be7eeb5845b0ce199ba29fa49fdd41e (patch)
tree5d8aa2bd6b81d0330e4ef202c41d3f9289608f7e /tests/push
parentMerge branch 'master' into develop (diff)
downloadsynapse-3fee32ed6be7eeb5845b0ce199ba29fa49fdd41e.tar.xz
Order `heroes` by `stream_ordering` (as spec'ed) (#17435)
The spec specifically mentions `stream_ordering` but that's a Synapse specific concept. In any case, the essence of the spec is basically the first 5 members of the room which `stream_ordering` accomplishes.

Split off from https://github.com/element-hq/synapse/pull/17419#discussion_r1671342794

## Spec compliance

> This should be the first 5 members of the room, **ordered by stream ordering**, which are joined or invited. The list must never include the client’s own user ID. When no joined or invited members are available, this should consist of the banned and left users.
>
> *-- https://spec.matrix.org/v1.10/client-server-api/#_matrixclientv3sync_roomsummary*

Related to https://github.com/matrix-org/matrix-spec/issues/1334
Diffstat (limited to 'tests/push')
0 files changed, 0 insertions, 0 deletions