mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-07-03 12:47:47 +02:00
Add link to m.room.member definition
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
4a3895ef4c
commit
af685a1023
|
|
@ -197,7 +197,7 @@ To ensure this is done consistently across clients, clients SHOULD use
|
||||||
the following algorithm to calculate a disambiguated display name for a
|
the following algorithm to calculate a disambiguated display name for a
|
||||||
given user:
|
given user:
|
||||||
|
|
||||||
1. Inspect the `m.room.member` state event for the relevant user id.
|
1. Inspect the [`m.room.member`](#mroommember) state event for the relevant user id.
|
||||||
2. If the `m.room.member` state event has no `displayname` field, or if
|
2. If the `m.room.member` state event has no `displayname` field, or if
|
||||||
that field has a `null` value, use the raw user id as the display
|
that field has a `null` value, use the raw user id as the display
|
||||||
name. Otherwise:
|
name. Otherwise:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue