Hide WhoIsTyping component if the MessagePanel is shaped e.g file grid

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-05-20 21:53:15 +01:00
parent db73e641ea
commit 868c99d140

View file

@ -716,7 +716,7 @@ module.exports = React.createClass({
); );
let whoIsTyping; let whoIsTyping;
if (this.props.room) { if (this.props.room && !this.props.tileShape) {
whoIsTyping = (<WhoIsTypingTile whoIsTyping = (<WhoIsTypingTile
room={this.props.room} room={this.props.room}
onShown={this._onTypingShown} onShown={this._onTypingShown}