@@ -254,7 +254,9 @@ with the addition of:
254254 event, if any.
255255* ** ` allowed_room_ids ` ** : A list of room IDs which give access to this room per
256256 [ MSC3083] ( https://github.com/matrix-org/matrix-doc/pull/3083 ) .<sup id =" a1 " >[ 1] ( #f1 ) </sup >
257- * ** ` children_state ` ** : As per Client-Server API version.
257+ Optional if would be empty.
258+ * ** ` children_state ` ** : As per Client-Server API version, though only on the ` room `
259+ and not ` children ` .
258260
259261#### Example request:
260262
@@ -275,13 +277,14 @@ requesting server is not allowed to access the room.
275277of "default ordering of siblings in the room list" using the ` order` key:
276278
277279> Rooms are sorted based on a lexicographic ordering of the Unicode codepoints
278- > of the characters in ` order` values. Rooms with no ` order` come last, in
279- > ascending numeric order of the ` origin_server_ts` of their ` m .room .create `
280- > events, or ascending lexicographic order of their ` room_id` s in case of equal
281- > ` origin_server_ts` . ` order` s which are not strings, or do not consist solely
282- > of ascii characters in the range ` \x20` (space) to ` \x7E` (~), or consist of
283- > more than 50 characters, are forbidden and the field should be ignored if
284- > received.
280+ > of the characters in ` order` values. Rooms with no ` order` come last with no
281+ > effective ` order` . When the ` order` (or lack thereof) is the same, the rooms
282+ > are sorted in ascending numeric order of the ` origin_server_ts` of their
283+ > ` m .room .create ` events, or ascending lexicographic order of their ` room_id` s
284+ > in case of equal ` origin_server_ts` . ` order` s which are not strings, or do
285+ > not consist solely of ascii characters in the range ` \x20` (space) to ` \x7E`
286+ > (` ~ ` ), or consist of more than 50 characters, are forbidden and the field
287+ > should be ignored if received.
285288
286289Unfortunately there are situations when a homeserver comes across a reference to
287290a child room that is unknown to it and must decide the ordering. Without being
@@ -312,16 +315,8 @@ request a space summary for Room D, but this is undesirable:
312315* If we expand the example above to many rooms than this becomes expensive to
313316 query a remote server simply for ordering.
314317
315- This proposes changing the ordering rules from MSC1772 to the following:
316-
317- > Rooms are sorted based on a lexicographic ordering of the Unicode codepoints
318- > of the characters in ` order` values. Rooms with no ` order` come last, in
319- > ascending numeric order of the ` origin_server_ts` of their ` m .space .child `
320- > events, or ascending lexicographic order of their ` room_id` s in case of equal
321- > ` origin_server_ts` . ` order` s which are not strings, or do not consist solely
322- > of ascii characters in the range ` \x20` (space) to ` \x7E` (~), or consist of
323- > more than 50 characters, are forbidden and the field should be ignored if
324- > received.
318+ This proposes changing the ordering rules from MSC1772 to consider the ` m .space .child `
319+ event instead of the ` m .room .create ` event.
325320
326321This modifies the clause for calculating the order to use the ` origin_server_ts`
327322of the ` m .space .child ` event instead of the ` m .room .create ` event. This allows
0 commit comments