Rename accessor for display name

master
Valentin Brandl 2020-05-14 14:53:11 +02:00 committed by Denis Kasak
parent d5f66631c1
commit 4675a72e6b
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ impl Room {
}
/// Get the resolved display name for a member of this room.
pub fn resolved_display_name(&self, id: &UserId) -> Option<&str> {
pub fn member_display_name(&self, id: &UserId) -> Option<&str> {
self.display_names.get(id).map(|s| s.as_str())
}