Commit ad2e5d2346
Unsigned
Layout: unified · split
src/room_buffer.rs +1 −2
| @@ -187,8 +187,7 @@ impl RoomBuffer { | ||
| 187 | 187 | /// Calculate the display name for a room member from its UserId. If no member with that ID is in |
| 188 | 188 | /// the room, the string representation of the ID will be returned. |
| 189 | 189 | fn calculate_user_name(&self, user_id: &UserId) -> String { |
| 190 | let room = self.inner.room.borrow(); | |
| 191 | room.member_display_name(user_id).into_owned() | |
| 190 | self.room().member_display_name(user_id).into_owned() | |
| 192 | 191 | } |
| 193 | 192 | |
| 194 | 193 | pub fn update_buffer_name(&mut self) { |