Message scrolling

This commit is contained in:
David Baker 2015-06-18 11:23:35 +01:00
parent ed58a59f82
commit a63299aae0
2 changed files with 22 additions and 7 deletions

View file

@ -77,7 +77,7 @@ module.exports = React.createClass({
<MatrixToolbar />
<RoomList selectedRoom={this.state.currentRoom} />
</div>
<RoomView roomId={this.state.currentRoom} />
<RoomView roomId={this.state.currentRoom} key={this.state.currentRoom} />
</div>
);
} else if (this.state.logged_in) {