You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Update src/components/views/rooms/RoomTile.tsx
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user