mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 04:34:59 +08:00
Fix didMount condition
This commit is contained in:
parent
3ccfd9bee1
commit
3797644ddd
@ -124,7 +124,7 @@ class FilePanel extends React.Component<IProps, IState> {
|
||||
|
||||
await this.updateTimelineSet(this.props.roomId);
|
||||
|
||||
if (isRoomEncrypted) return;
|
||||
if (!isRoomEncrypted) return;
|
||||
|
||||
// The timelineSets filter makes sure that encrypted events that contain
|
||||
// URLs never get added to the timeline, even if they are live events.
|
||||
|
Loading…
Reference in New Issue
Block a user