Skip to content

Commit

Permalink
describe how to order rooms that don't have an order in their tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Haines committed Nov 16, 2015
1 parent 299af67 commit 48f35e1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions specification/modules/tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ to order the rooms with a given tag.

Ordering information is given under the ``order`` key as a string. The string
are compared lexicographically by unicode codepoint to determine which should
displayed first. So a tag with an ``order`` key of ``"apples"`` would appear
before a tag with an ``order`` key of ``"oranges"``.
displayed first. So a room with a tag with an ``order`` key of ``"apples"``
would appear before a room with a tag with an ``order`` key of ``"oranges"``.
If a room has a tag without an ``order`` key then it should appear after the
rooms with that tag that have an ``order`` key.

{{m_tag_event}}

{{m_tag_event}

Client Behaviour
----------------
Expand Down

0 comments on commit 48f35e1

Please sign in to comment.