fn captured_user( state: &RoomState, user_id: UserId, connection_id: ConnectionId, ) -> Option<CapturedUser>