Unbreak auto joining
This commit is contained in:
parent
fc7da536d6
commit
5c37d591b0
1 changed files with 2 additions and 2 deletions
|
@ -231,10 +231,10 @@ module.exports = React.createClass({
|
||||||
this._updateAutoComplete(room);
|
this._updateAutoComplete(room);
|
||||||
this.tabComplete.loadEntries(room);
|
this.tabComplete.loadEntries(room);
|
||||||
}
|
}
|
||||||
if (!room && !this.state.joining && this.state.roomId) {
|
if (!this.state.joining && this.state.roomId) {
|
||||||
if (this.props.autoJoin) {
|
if (this.props.autoJoin) {
|
||||||
this.onJoinButtonClicked();
|
this.onJoinButtonClicked();
|
||||||
} else {
|
} else if (!room) {
|
||||||
console.log("Attempting to peek into room %s", this.state.roomId);
|
console.log("Attempting to peek into room %s", this.state.roomId);
|
||||||
this.setState({
|
this.setState({
|
||||||
peekLoading: true,
|
peekLoading: true,
|
||||||
|
|
Loading…
Reference in a new issue