Set comprehensive set of props for thread's MessagePanel

pull/21833/head
Germain Souquet 2021-09-22 10:48:24 +01:00
parent 9ef5173312
commit 1265fe6b86
1 changed files with 10 additions and 3 deletions

View File

@ -133,15 +133,22 @@ export default class ThreadView extends React.Component<IProps, IState> {
{ this.state.thread && ( { this.state.thread && (
<TimelinePanel <TimelinePanel
ref={this.timelinePanelRef} ref={this.timelinePanelRef}
manageReadReceipts={false} showReadReceipts={false} // No RR support in thread's MVP
manageReadMarkers={false} manageReadReceipts={false} // No RR support in thread's MVP
manageReadMarkers={false} // No RM support in thread's MVP
sendReadReceiptOnLoad={false} // No RR support in thread's MVP
timelineSet={this.state?.thread?.timelineSet} timelineSet={this.state?.thread?.timelineSet}
showUrlPreview={false} showUrlPreview={true}
tileShape={TileShape.Notif} tileShape={TileShape.Notif}
empty={<div>empty</div>} empty={<div>empty</div>}
alwaysShowTimestamps={true} alwaysShowTimestamps={true}
layout={Layout.Group} layout={Layout.Group}
hideThreadedMessages={false} hideThreadedMessages={false}
hidden={false}
showReactions={true}
className="mx_RoomView_messagePanel mx_GroupLayout"
permalinkCreator={this.props.permalinkCreator}
membersLoaded={true}
/> />
) } ) }
<MessageComposer <MessageComposer