mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
falsy check is obsolete now
This commit is contained in:
parent
01a0260ac8
commit
c38b286e8e
@ -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…
x
Reference in New Issue
Block a user