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

This reverts commit e1b34acdc8.
This commit is contained in:
Travis Ralston 2020-07-14 09:56:17 -06:00
parent 4903ce55bb
commit e955feb12d
4 changed files with 157 additions and 1 deletions

View file

@ -209,7 +209,13 @@ export default class RoomList2 extends React.Component<IProps, IState> {
};
private updateLists = () => {
this.setState({sublists: RoomListStore.instance.orderedLists}, () => {
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.props.onResize();
});
};