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

To match how the C2S spec calls it.
This commit is contained in:
Denis Kasak 2020-06-09 15:29:37 +02:00
parent a9fd63fd4b
commit 22ba253103

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)