diff --git a/src/components/structures/RoomStatusBar.js b/src/components/structures/RoomStatusBar.js index a4ac219b95..a8f0de3e92 100644 --- a/src/components/structures/RoomStatusBar.js +++ b/src/components/structures/RoomStatusBar.js @@ -79,7 +79,50 @@ module.exports = React.createClass({ }); }, - render: function() { + // return suitable content for the image on the left of the status bar. + // + // if wantPlaceholder is true, we include a "..." placeholder if + // there is nothing better to put in. + _getIndicator: function(wantPlaceholder) { + if (this.props.numUnreadMessages) { + return ( +