mirror of https://github.com/vector-im/riot-web
Display timeline panel when room `isRoomEncrypted` is loaded
parent
b718c092a7
commit
0ba08404f5
|
@ -296,18 +296,20 @@ class FilePanel extends React.Component<IProps, IState> {
|
||||||
<Measured sensor={this.card.current} onMeasurement={this.onMeasurement} />
|
<Measured sensor={this.card.current} onMeasurement={this.onMeasurement} />
|
||||||
)}
|
)}
|
||||||
{isRoomEncryptedLoaded && (
|
{isRoomEncryptedLoaded && (
|
||||||
<SearchWarning isRoomEncrypted={isRoomEncrypted} kind={WarningKind.Files} />
|
<>
|
||||||
|
<SearchWarning isRoomEncrypted={isRoomEncrypted} kind={WarningKind.Files} />
|
||||||
|
<TimelinePanel
|
||||||
|
manageReadReceipts={false}
|
||||||
|
manageReadMarkers={false}
|
||||||
|
timelineSet={this.state.timelineSet}
|
||||||
|
showUrlPreview={false}
|
||||||
|
onPaginationRequest={this.onPaginationRequest}
|
||||||
|
resizeNotifier={this.props.resizeNotifier}
|
||||||
|
empty={emptyState}
|
||||||
|
layout={Layout.Group}
|
||||||
|
/>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
<TimelinePanel
|
|
||||||
manageReadReceipts={false}
|
|
||||||
manageReadMarkers={false}
|
|
||||||
timelineSet={this.state.timelineSet}
|
|
||||||
showUrlPreview={false}
|
|
||||||
onPaginationRequest={this.onPaginationRequest}
|
|
||||||
resizeNotifier={this.props.resizeNotifier}
|
|
||||||
empty={emptyState}
|
|
||||||
layout={Layout.Group}
|
|
||||||
/>
|
|
||||||
</BaseCard>
|
</BaseCard>
|
||||||
</RoomContext.Provider>
|
</RoomContext.Provider>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue