falsy check is obsolete now

pull/21833/head
Bruno Windels 2018-08-22 12:28:00 +02:00
parent 01a0260ac8
commit c38b286e8e
1 changed files with 1 additions and 1 deletions

View File

@ -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;