Use "disambiguated" instead of "resolved" display name in the doc comment.

To match how the C2S spec calls it.
master
Denis Kasak 2020-06-09 15:29:37 +02:00
parent a9fd63fd4b
commit 22ba253103
1 changed files with 1 additions and 1 deletions

View File

@ -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<Cow<'a, str>> {
self.disambiguated_display_names
.get(id)