Fix didMount condition

florianduros/rip-out-legacy-crypto/migrate-filepanel-isRoomEncrypted
Florian Duros 2024-10-23 17:53:34 +02:00
parent 3ccfd9bee1
commit 3797644ddd
No known key found for this signature in database
GPG Key ID: A5BBB4041B493F15
1 changed files with 1 additions and 1 deletions

View File

@ -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.