From 4ab479594be440c7577acd200363f5e180195eb1 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 2 Feb 2017 17:48:47 +0000 Subject: [PATCH] temporarily stop hiding the statusbar as per https://github.com/vector-im/riot-web/issues/1991#issuecomment-276953915 --- src/components/structures/RoomStatusBar.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/structures/RoomStatusBar.js b/src/components/structures/RoomStatusBar.js index 3ba73bb181..464ab7641b 100644 --- a/src/components/structures/RoomStatusBar.js +++ b/src/components/structures/RoomStatusBar.js @@ -74,6 +74,7 @@ module.exports = React.createClass({ // callback for when the status bar can be hidden from view, as it is // not displaying anything onHidden: React.PropTypes.func, + // callback for when the status bar is displaying something and should // be visible onVisible: React.PropTypes.func, @@ -113,7 +114,9 @@ module.exports = React.createClass({ clearTimeout(this.hideDebouncer); } this.hideDebouncer = setTimeout(() => { - this.props.onHidden(); + // temporarily stop hiding the statusbar as per + // https://github.com/vector-im/riot-web/issues/1991#issuecomment-276953915 + // this.props.onHidden(); }, HIDE_DEBOUNCE_MS); } },