tiebreak ordered spaces sensibly

matthew/msc1772
Matthew Hodgson 3 years ago
parent f07e82e34b
commit 37e04f72ae

@ -115,11 +115,14 @@ relationship can be expressed in one of two ways:
The `order` key is a string which is used to provide a default ordering of The `order` key is a string which is used to provide a default ordering of
siblings in the room list. (Rooms are sorted based on a lexicographic siblings in the room list. (Rooms are sorted based on a lexicographic
ordering of the Unicode codepoints of the characters in `order` values; ordering of the Unicode codepoints of the characters in `order` values.
rooms with no `order` come last. `order`s which are not strings, or do not Rooms with no `order` come last, in ascending numeric order of the
consist solely of ascii characters in the range `\x20` (space) to `\x7F` `origin_server_ts` of their `m.room.create` events, or ascending
(`~`), or consist of more than 50 characters, are forbidden and should be lexicographic order of their `room_id`s in case of equal
ignored if received.) `origin_server_ts`. `order`s which are not strings, or do not consist
solely of ascii characters in the range `\x20` (space) to `\x7F` (`~`), or
consist of more than 50 characters, are forbidden and should be ignored if
received.)
2. Separately, rooms can claim parents via the `m.space.parent` state 2. Separately, rooms can claim parents via the `m.space.parent` state
event. event.

Loading…
Cancel
Save