Remove debug logging from new room list

Fixes https://github.com/vector-im/riot-web/issues/14408

Yes, all the issue references are wrong :(
This commit is contained in:
Travis Ralston 2020-07-13 20:34:05 -06:00
parent 126aa862db
commit 6632db01cf
4 changed files with 1 additions and 157 deletions

View file

@ -218,13 +218,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();
});
};