From 22ba253103cddb20154a1c2d274f3f5119a13ee3 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Tue, 9 Jun 2020 15:29:37 +0200 Subject: [PATCH] Use "disambiguated" instead of "resolved" display name in the doc comment. To match how the C2S spec calls it. --- matrix_sdk_base/src/models/room.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk_base/src/models/room.rs b/matrix_sdk_base/src/models/room.rs index 41b823a1..f853aa9f 100644 --- a/matrix_sdk_base/src/models/room.rs +++ b/matrix_sdk_base/src/models/room.rs @@ -302,7 +302,7 @@ impl Room { self.encrypted.as_ref() } - /// Get the resolved display name for a member of this room. + /// Get the disambiguated display name for a member of this room. pub fn member_display_name<'a>(&'a self, id: &UserId) -> Option> { self.disambiguated_display_names .get(id)