mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-23 15:31:22 +02:00
Update src/components/views/rooms/RoomTile.tsx
This commit is contained in:
parent
04d2bf1d6a
commit
ee54327733
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user