Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/2
This commit is contained in:
commit
10e547539d
25 changed files with 1864 additions and 240 deletions
|
@ -298,6 +298,11 @@ export default class RoomTile2 extends React.Component<IProps, IState> {
|
|||
private renderGeneralMenu(): React.ReactElement {
|
||||
if (this.props.isMinimized) return null; // no menu when minimized
|
||||
|
||||
// TODO: Get a proper invite context menu, or take invites out of the room list.
|
||||
if (this.props.tag === DefaultTagID.Invite) {
|
||||
return null;
|
||||
}
|
||||
|
||||
let contextMenu = null;
|
||||
if (this.state.generalMenuDisplayed) {
|
||||
const elementRect = this.generalMenuButtonRef.current.getBoundingClientRect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue