diff --git a/src/components/structures/RoomStatusBar.js b/src/components/structures/RoomStatusBar.js index 2b16b2f97f..c15a33d777 100644 --- a/src/components/structures/RoomStatusBar.js +++ b/src/components/structures/RoomStatusBar.js @@ -36,10 +36,6 @@ module.exports = React.createClass({ // true if there are messages in the room which had errors on send hasUnsentMessages: React.PropTypes.bool, - // callback for when the user clicks on the 'resend all' button in the - // 'unsent messages' bar - onResendAllClick: React.PropTypes.func, - // this is true if we are fully scrolled-down, and are looking at // the end of the live timeline. atEndOfLiveTimeline: React.PropTypes.bool, @@ -48,6 +44,13 @@ module.exports = React.createClass({ // the 'Active Call' text in the status bar if there is nothing // more interesting) hasActiveCall: React.PropTypes.bool, + + // callback for when the user clicks on the 'resend all' button in the + // 'unsent messages' bar + onResendAllClick: React.PropTypes.func, + + // callback for when the user clicks on the 'scroll to bottom' button + onScrollToBottomClick: React.PropTypes.func, }, getInitialState: function() { @@ -138,7 +141,7 @@ module.exports = React.createClass({ (this.props.numUnreadMessages > 1 ? "s" : ""); return ( -