Remove mx_GroupLayout (#8876)
This commit is contained in:
parent
eca14dea57
commit
4b2a922e2e
7 changed files with 3 additions and 19 deletions
|
@ -21,7 +21,6 @@ import { IEventRelation, MatrixEvent } from 'matrix-js-sdk/src/models/event';
|
|||
import { TimelineWindow } from 'matrix-js-sdk/src/timeline-window';
|
||||
import { Direction } from 'matrix-js-sdk/src/models/event-timeline';
|
||||
import { IRelationsRequestOpts } from 'matrix-js-sdk/src/@types/requests';
|
||||
import classNames from "classnames";
|
||||
import { logger } from 'matrix-js-sdk/src/logger';
|
||||
|
||||
import BaseCard from "../views/right_panel/BaseCard";
|
||||
|
@ -314,10 +313,6 @@ export default class ThreadView extends React.Component<IProps, IState> {
|
|||
|
||||
const threadRelation = this.threadRelation;
|
||||
|
||||
const messagePanelClassNames = classNames("mx_RoomView_messagePanel", {
|
||||
"mx_GroupLayout": this.state.layout === Layout.Group,
|
||||
});
|
||||
|
||||
let timeline: JSX.Element;
|
||||
if (this.state.thread) {
|
||||
if (this.props.initialEvent && this.props.initialEvent.getRoomId() !== this.state.thread.roomId) {
|
||||
|
@ -345,7 +340,7 @@ export default class ThreadView extends React.Component<IProps, IState> {
|
|||
hideThreadedMessages={false}
|
||||
hidden={false}
|
||||
showReactions={true}
|
||||
className={messagePanelClassNames}
|
||||
className="mx_RoomView_messagePanel"
|
||||
permalinkCreator={this.props.permalinkCreator}
|
||||
membersLoaded={true}
|
||||
editState={this.state.editState}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue