mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
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
@ -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
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user