From af685a1023483d721cfbbaef9cf06bcd09334215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 1 May 2026 09:01:41 +0200 Subject: [PATCH] Add link to m.room.member definition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- content/client-server-api/modules/instant_messaging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/client-server-api/modules/instant_messaging.md b/content/client-server-api/modules/instant_messaging.md index a64baa25..a7c17d4b 100644 --- a/content/client-server-api/modules/instant_messaging.md +++ b/content/client-server-api/modules/instant_messaging.md @@ -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: