Use "disambiguated" instead of "resolved" display name in the doc comment.
To match how the C2S spec calls it.master
parent
a9fd63fd4b
commit
22ba253103
|
@ -302,7 +302,7 @@ impl Room {
|
||||||
self.encrypted.as_ref()
|
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>> {
|
pub fn member_display_name<'a>(&'a self, id: &UserId) -> Option<Cow<'a, str>> {
|
||||||
self.disambiguated_display_names
|
self.disambiguated_display_names
|
||||||
.get(id)
|
.get(id)
|
||||||
|
|
Loading…
Reference in New Issue