You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Fix if-statement thinko
This commit is contained in:
@ -230,7 +230,8 @@ module.exports = React.createClass({
|
||||
if (room) {
|
||||
this._updateAutoComplete(room);
|
||||
this.tabComplete.loadEntries(room);
|
||||
} else if (!this.state.joining && this.state.roomId) {
|
||||
}
|
||||
if (!room && !this.state.joining && this.state.roomId) {
|
||||
if (this.props.autoJoin) {
|
||||
this.onJoinButtonClicked();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user