Add link to m.room.member definition

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2026-05-01 09:01:41 +02:00
parent 4a3895ef4c
commit af685a1023
No known key found for this signature in database
GPG key ID: F26F4BE20A08255B

View file

@ -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
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
that field has a `null` value, use the raw user id as the display
name. Otherwise: