Update src/components/views/rooms/RoomTile.tsx
This commit is contained in:
parent
04d2bf1d6a
commit
ee54327733
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
|
||||||
const isLowPriority = roomTags.includes(DefaultTagID.LowPriority);
|
const isLowPriority = roomTags.includes(DefaultTagID.LowPriority);
|
||||||
const lowPriorityLabel = _t("Low Priority");
|
const lowPriorityLabel = _t("Low Priority");
|
||||||
|
|
||||||
const inRoom = this.props.room && this.props.room.getMyMembership() === "join";
|
const inRoom = this.props.room.getMyMembership() === "join";
|
||||||
const userId = MatrixClientPeg.get().getUserId();
|
const userId = MatrixClientPeg.get().getUserId();
|
||||||
let canInvite = inRoom;
|
let canInvite = inRoom;
|
||||||
const powerLevels = this.props.room.currentState
|
const powerLevels = this.props.room.currentState
|
||||||
|
|
Loading…
Reference in a new issue