diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index 4fd2618d6b..2565bd1ffa 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -169,7 +169,7 @@ var RoomSubList = React.createClass({ this.props.onHeaderClick(isHidden); } else { // The header is stuck, so the click is to be interpreted as a scroll to the header - this.props.onHeaderClick(isHidden, this.refs.header.dataset.originalPosition); + this.props.onHeaderClick(this.state.hidden, this.refs.header.dataset.originalPosition); } },