Don't do this check - it's not valid since we set the room in onRoomName

pull/21833/head
David Baker 2016-02-04 13:25:45 +00:00
parent 891f4761a0
commit b0da54533d
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ module.exports = React.createClass({
// set it in our state and start using it (ie. init the timeline)
// This will happen if we start off viewing a room we're not joined,
// then join it whilst RoomView is looking at that room.
if (room.roomId == this.props.roomId && !this.state.room) {
if (room.roomId == this.props.roomId) {
this.setState({
room: room
});