Merge pull request #4972 from matrix-org/travis/room-list/prelaunch/3-remove-debug

Remove debug logging from new room list
This commit is contained in:
Travis Ralston 2020-07-14 09:56:17 -06:00 committed by GitHub
commit e1b34acdc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 157 deletions

View file

@ -209,13 +209,7 @@ export default class RoomList2 extends React.Component<IProps, IState> {
};
private updateLists = () => {
const newLists = RoomListStore.instance.orderedLists;
if (!window.mx_QuietRoomListLogging) {
// TODO: Remove debug: https://github.com/vector-im/riot-web/issues/14035
console.log("new lists", newLists);
}
this.setState({sublists: newLists}, () => {
this.setState({sublists: RoomListStore.instance.orderedLists}, () => {
this.props.onResize();
});
};