You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-05 15:22:09 +03:00
Add option to disable grouping in TimelinePanel (#7221)
This commit is contained in:
@@ -134,6 +134,7 @@ interface IProps {
|
||||
onPaginationRequest?(timelineWindow: TimelineWindow, direction: string, size: number): Promise<boolean>;
|
||||
|
||||
hideThreadedMessages?: boolean;
|
||||
disableGrouping?: boolean;
|
||||
}
|
||||
|
||||
interface IState {
|
||||
@@ -223,6 +224,7 @@ class TimelinePanel extends React.Component<IProps, IState> {
|
||||
className: 'mx_RoomView_messagePanel',
|
||||
sendReadReceiptOnLoad: true,
|
||||
hideThreadedMessages: true,
|
||||
disableGrouping: false,
|
||||
};
|
||||
|
||||
private lastRRSentEventId: string = undefined;
|
||||
@@ -1537,6 +1539,7 @@ class TimelinePanel extends React.Component<IProps, IState> {
|
||||
layout={this.props.layout}
|
||||
enableFlair={SettingsStore.getValue(UIFeature.Flair)}
|
||||
hideThreadedMessages={this.props.hideThreadedMessages}
|
||||
disableGrouping={this.props.disableGrouping}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user