Update src/components/views/rooms/RoomTile.tsx

pull/21833/head
Jaiwanth 2021-02-16 18:59:22 +05:30
parent 04d2bf1d6a
commit ee54327733
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
const isLowPriority = roomTags.includes(DefaultTagID.LowPriority);
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();
let canInvite = inRoom;
const powerLevels = this.props.room.currentState