Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Take out unfederated warning
Browse files Browse the repository at this point in the history
This is moving to the Advanced tab
  • Loading branch information
turt2live committed Jan 29, 2019
1 parent 93ce342 commit 78314ef
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/views/settings/tabs/RolesRoomSettingsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -318,7 +312,6 @@ export default class RolesRoomSettingsTab extends React.Component {
<span className='mx_SettingsTab_subheading'>{_t("Permissions")}</span>
{powerSelectors}
{eventPowerSelectors}
{unfederatableSection}
</div>
</div>
);
Expand Down

0 comments on commit 78314ef

Please sign in to comment.