Add some links to spec bugs for display names

Just added a couple of TODO comments to useful jira bugs
pull/977/head
Richard van der Hoff 9 years ago
parent 2fd5fc39a0
commit 8cba11b1cd

@ -138,6 +138,11 @@ following algorithm to calculate a disambiguated display name for a given user:
disambiguated using the user id, for example "display name
(@id:homeserver.org)".
.. TODO-spec
what does it mean for a ``displayname`` to be 'unique'? Are we
case-sensitive? Do we care about homograph attacks? See
https://matrix.org/jira/browse/SPEC-221.
Developers should take note of the following when implementing the above
algorithm:
@ -232,6 +237,8 @@ choose a name:
Ideally we might sort by the time when the user was first invited to, or
first joined the room. But we don't have this information.
See https://matrix.org/jira/browse/SPEC-267 for further discussion.
#. If the room has no ``m.room.name`` or ``m.room.canonical_alias`` events, and
no active members other than the current user, clients should consider
``m.room.member`` events with ``membership: leave``. If such events exist, a

Loading…
Cancel
Save