mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Fix if-statement thinko
This commit is contained in:
parent
d55d61e456
commit
30566beb43
@ -230,7 +230,8 @@ module.exports = React.createClass({
|
|||||||
if (room) {
|
if (room) {
|
||||||
this._updateAutoComplete(room);
|
this._updateAutoComplete(room);
|
||||||
this.tabComplete.loadEntries(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) {
|
if (this.props.autoJoin) {
|
||||||
this.onJoinButtonClicked();
|
this.onJoinButtonClicked();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user