Don't do this check - it's not valid since we set the room in onRoomName
This commit is contained in:
parent
891f4761a0
commit
b0da54533d
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ module.exports = React.createClass({
|
||||||
// set it in our state and start using it (ie. init the timeline)
|
// 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,
|
// This will happen if we start off viewing a room we're not joined,
|
||||||
// then join it whilst RoomView is looking at that room.
|
// 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({
|
this.setState({
|
||||||
room: room
|
room: room
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue