Use "disambiguated" instead of "resolved" display name in the doc comment.
To match how the C2S spec calls it.
This commit is contained in:
parent
a9fd63fd4b
commit
22ba253103
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue