falsy check is obsolete now
This commit is contained in:
parent
01a0260ac8
commit
c38b286e8e
1 changed files with 1 additions and 1 deletions
|
@ -1601,7 +1601,7 @@ module.exports = React.createClass({
|
|||
} else if (this.state.showingPinned) {
|
||||
hideCancel = true; // has own cancel
|
||||
aux = <PinnedEventsPanel room={this.state.room} onCancelClick={this.onPinnedClick} />;
|
||||
} else if (!myMembership || myMembership !== "join") {
|
||||
} else if (myMembership !== "join") {
|
||||
// We do have a room object for this room, but we're not currently in it.
|
||||
// We may have a 3rd party invite to it.
|
||||
var inviterName = undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue