Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/2

This commit is contained in:
Michael Telatynski 2020-07-01 14:26:56 +01:00
commit 10e547539d
25 changed files with 1864 additions and 240 deletions

View file

@ -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();