Take out unfederated warning

This is moving to the Advanced tab
pull/21833/head
Travis Ralston 2019-01-29 16:10:24 -07:00
parent 93ce342d63
commit 78314ef284
1 changed files with 0 additions and 7 deletions

View File

@ -302,12 +302,6 @@ export default class RolesRoomSettingsTab extends React.Component {
);
});
let unfederatableSection;
const createEvent = room.currentState.getStateEvents('m.room.create', '');
if (createEvent && createEvent.getContent()['m.federate'] === false) {
unfederatableSection = <div>{_t('This room is not accessible by remote Matrix servers')}</div>;
}
return (
<div className="mx_SettingsTab mx_RolesRoomSettingsTab">
<div className="mx_SettingsTab_heading">{_t("Roles & Permissions")}</div>
@ -318,7 +312,6 @@ export default class RolesRoomSettingsTab extends React.Component {
<span className='mx_SettingsTab_subheading'>{_t("Permissions")}</span>
{powerSelectors}
{eventPowerSelectors}
{unfederatableSection}
</div>
</div>
);