forked-synapse/synapse/storage
Eric Eastwood 3fee32ed6b
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
2024-07-17 13:10:15 -05:00
..
controllers Add rooms.required_state to Sliding Sync /sync (#17342) 2024-07-04 12:25:36 -05:00
databases Order heroes by stream_ordering (as spec'ed) (#17435) 2024-07-17 13:10:15 -05:00
engines Change allow_unsafe_locale to also apply on new databases (#17238) 2024-05-29 12:04:13 +01:00
schema Return some room data in Sliding Sync /sync (#17320) 2024-07-02 11:07:05 -05:00
util Fix sync waiting for an invalid token from the "future" (#17386) 2024-07-02 12:39:49 +01:00
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
_base.py Fix bug in sliding sync when using old DB. (#17398) 2024-07-08 20:30:23 +01:00
background_updates.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
database.py Move towards using MultiWriterIdGenerator everywhere (#17226) 2024-05-29 12:19:10 +00:00
keys.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
prepare_database.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
push_rule.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
roommember.py Use fully-qualified PersistedEventPosition when returning RoomsForUser (#17265) 2024-06-04 12:58:03 -05:00
types.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00