diff --git a/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx b/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx index d9e97d570b..cade206dad 100644 --- a/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx +++ b/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx @@ -616,6 +616,22 @@ export default class SecurityRoomSettingsTab extends React.Component + + { this.state.showAdvancedSection ? _t("Hide advanced") : _t("Show advanced") } + + { this.state.showAdvancedSection && this.renderAdvanced() } + + ); + } + return (
{ _t("Security & Privacy") }
@@ -641,15 +657,7 @@ export default class SecurityRoomSettingsTab extends React.Component - - { this.state.showAdvancedSection ? _t("Hide advanced") : _t("Show advanced") } - - { this.state.showAdvancedSection && this.renderAdvanced() } - + { advanced } { historySection }
);