Fix didMount condition
parent
3ccfd9bee1
commit
3797644ddd
|
@ -124,7 +124,7 @@ class FilePanel extends React.Component<IProps, IState> {
|
||||||
|
|
||||||
await this.updateTimelineSet(this.props.roomId);
|
await this.updateTimelineSet(this.props.roomId);
|
||||||
|
|
||||||
if (isRoomEncrypted) return;
|
if (!isRoomEncrypted) return;
|
||||||
|
|
||||||
// The timelineSets filter makes sure that encrypted events that contain
|
// The timelineSets filter makes sure that encrypted events that contain
|
||||||
// URLs never get added to the timeline, even if they are live events.
|
// URLs never get added to the timeline, even if they are live events.
|
||||||
|
|
Loading…
Reference in New Issue