Browse Source

Avoid reaching into RoomEntry from RoomMap.

main
Titouan Rigoudy 2 years ago
parent
commit
b52ef853a5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client/src/room/map.rs

+ 1
- 1
client/src/room/map.rs View File

@ -155,7 +155,7 @@ impl RoomMap {
self
.map
.insert(name.clone(), RoomEntry::new(name, room))
.map(|entry| entry.state)
.map(|entry| entry.into_state())
}
/// Looks up the given room name in the map, returning an immutable


Loading…
Cancel
Save