From 0212df922a8cedfba2e39de40dc4c3b26579e443 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 30 Nov 2018 13:53:30 +0100 Subject: [PATCH] dont render who is typing tile when no room available (like in notif panel) --- src/components/structures/MessagePanel.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index 1107be8464..5fe2aae471 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -664,6 +664,11 @@ module.exports = React.createClass({ }, ); + let whoIsTyping; + if (this.props.room) { + whoIsTyping = (); + } + return ( { topSpinner } { this._getEventTiles() } - + { whoIsTyping } { bottomSpinner } );