Commit 054b4e2e78

054b4e2e78299e90f82418cd5c4e53b5c2c57110

parent: e325036526

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2020-09-06 10:53 UTC

room: Add a comment about our incorrect clone for MatrixRoom.

Layout: unified · split

src/room_buffer.rs +1
@@ -98,6 +98,7 @@ pub struct MatrixRoom {
98 typing_in_flight: Rc<Mutex<()>>, 98 typing_in_flight: Rc<Mutex<()>>,
99 99
100 room: Rc<RefCell<Room>>, 100 room: Rc<RefCell<Room>>,
101 // FIXME this needs to be behind an Rc so the clone does the right thing.
101 members: HashMap<UserId, WeechatRoomMember>, 102 members: HashMap<UserId, WeechatRoomMember>,
102} 103}
103 104